This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4dcce38cda
rust
/
tests
/
run-make
/
extern-multiple-copies
/
foo2.rs
2 lines
24 B
Rust
Raw
Normal View
History
Unescape
Escape
rustc: Fix `extern crate` being order dependent This commit fixes a bug where a crate could fail to compile depending on the order of `extern crate` directives at the top of the crate. Specifically, if the same crate is found at two locations, then if it's loaded first via `--extern` it will not emit a duplicate warning, but if it's first loaded transitively via a dep and *then* via `--extern` an error will be emitted. The loader was tweaked to catch this scenario and coalesce the loading of these two crates to prevent errors from being emitted.
2015-10-20 23:05:39 -05:00
#![
crate_type =
"
rlib
"
]
Reference in New Issue
Copy Permalink