1 # This crate exists to allow rustc to link certain crates from crates.io into
2 # the distribution. This doesn't work normally because:
4 # - Cargo always builds dependencies as rlibs:
5 # https://github.com/rust-lang/cargo/issues/629
6 # - rustc wants to avoid multiple definitions of the same symbol, so it refuses
7 # to link multiple dylibs containing the same rlib
8 # - multiple dylibs depend on the same crates.io crates
10 # This solution works by including all the conflicting rlibs in a single dylib,
11 # which is then linked into all dylibs that depend on these crates.io crates.
12 # The result is that each rlib only appears once, and things work!
15 authors = ["The Rust Project Developers"]
16 name = "rustc_cratesio_shim"
20 crate-type = ["dylib"]
25 unicode-width = "0.1.4"