From 3332f3364901ac282c545e1a463618e86e70cdf9 Mon Sep 17 00:00:00 2001 From: "Adam C. Foltzer" Date: Wed, 21 Feb 2018 10:22:18 -0800 Subject: Fix Rust compiler-private library ambiguity When building a Rust target with Rust library dependencies, an `--extern` argument is now specified to avoid ambiguity between the dependency library, and any crates of the same name in `rustc`'s private sysroot. Includes an illustrative test case. --- docs/markdown/snippets/rust-private-disambiguation.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/markdown/snippets/rust-private-disambiguation.md (limited to 'docs/markdown') diff --git a/docs/markdown/snippets/rust-private-disambiguation.md b/docs/markdown/snippets/rust-private-disambiguation.md new file mode 100644 index 0000000..6988a7a --- /dev/null +++ b/docs/markdown/snippets/rust-private-disambiguation.md @@ -0,0 +1,6 @@ +## Rust compiler-private library disambiguation + +When building a Rust target with Rust library dependencies, an +`--extern` argument is now specified to avoid ambiguity between the +dependency library, and any crates of the same name in `rustc`'s +private sysroot. -- cgit v1.1