aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorAdam C. Foltzer <acfoltzer@galois.com>2018-02-21 10:22:18 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2018-02-22 22:16:58 +0200
commit3332f3364901ac282c545e1a463618e86e70cdf9 (patch)
tree70401bf342f5e4e2055a9e1699960b549b24f040 /docs/markdown
parent2f21e1ffc06ca41dac132018e8bef5bd2fe95ab1 (diff)
downloadmeson-3332f3364901ac282c545e1a463618e86e70cdf9.zip
meson-3332f3364901ac282c545e1a463618e86e70cdf9.tar.gz
meson-3332f3364901ac282c545e1a463618e86e70cdf9.tar.bz2
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.
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/snippets/rust-private-disambiguation.md6
1 files changed, 6 insertions, 0 deletions
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.