diff options
| author | Adam C. Foltzer <acfoltzer@galois.com> | 2018-02-21 10:22:18 -0800 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-22 22:16:58 +0200 |
| commit | 3332f3364901ac282c545e1a463618e86e70cdf9 (patch) | |
| tree | 70401bf342f5e4e2055a9e1699960b549b24f040 /docs | |
| parent | 2f21e1ffc06ca41dac132018e8bef5bd2fe95ab1 (diff) | |
| download | meson-3332f3364901ac282c545e1a463618e86e70cdf9.tar.gz | |
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')
| -rw-r--r-- | docs/markdown/snippets/rust-private-disambiguation.md | 6 |
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 000000000..6988a7a69 --- /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. |
