Don't use the same llvmdeps.rs for every host.

This commit is contained in:
Richard Diamond 2014-11-25 17:28:49 -06:00
parent 2264049577
commit 80d520fcf2
4 changed files with 24 additions and 12 deletions

View file

@ -2214,4 +2214,6 @@ pub unsafe fn static_link_hack_this_sucks() {
// parts of LLVM that rustllvm depends on aren't thrown away by the linker.
// Works to the above fix for #15460 to ensure LLVM dependencies that
// are only used by rustllvm don't get stripped by the linker.
mod llvmdeps;
mod llvmdeps {
include!(env!("CFG_LLVM_LINKAGE_FILE"))
}