diff options
| author | bors <bors@rust-lang.org> | 2015-11-20 22:08:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-20 22:08:19 +0000 |
| commit | 731c0ce4c9fce4b689841be477841595be686ce9 (patch) | |
| tree | 27144f93eb0a6605785f14baea6c9228839e7ac4 /src/rustllvm/RustWrapper.cpp | |
| parent | 20cbba71d496b8b3760d76d694e12dd54c3f3eea (diff) | |
| parent | 24311d076267b40fed222dd661eb179f4613be74 (diff) | |
| download | rust-731c0ce4c9fce4b689841be477841595be686ce9.tar.gz rust-731c0ce4c9fce4b689841be477841595be686ce9.zip | |
Auto merge of #29961 - alexcrichton:order-dependent, r=brson
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
