diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2019-04-04 15:04:37 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2019-04-04 15:04:37 +0200 |
| commit | ef648f4a4936700c7ebf85f82cbcba29a6187bcc (patch) | |
| tree | e4782368c1a772539b36b289f25cfca8453fc183 | |
| parent | e43f99ce576152d4b2f7315d491c4210211228d6 (diff) | |
| download | rust-ef648f4a4936700c7ebf85f82cbcba29a6187bcc.tar.gz rust-ef648f4a4936700c7ebf85f82cbcba29a6187bcc.zip | |
Remove invalid assertion back::link::from add_upstream_rust_crates().
| -rw-r--r-- | src/librustc_codegen_llvm/back/link.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_codegen_llvm/back/link.rs b/src/librustc_codegen_llvm/back/link.rs index f10bc0516e5..19419a72b94 100644 --- a/src/librustc_codegen_llvm/back/link.rs +++ b/src/librustc_codegen_llvm/back/link.rs @@ -1396,10 +1396,6 @@ fn add_upstream_rust_crates(cmd: &mut dyn Linker, // Same thing as above, but for dynamic crates instead of static crates. fn add_dynamic_crate(cmd: &mut dyn Linker, sess: &Session, cratepath: &Path) { - // If we're performing LTO, then it should have been previously required - // that all upstream rust dependencies were available in an rlib format. - assert!(!are_upstream_rust_objects_already_included(sess)); - // Just need to tell the linker about where the library lives and // what its name is let parent = cratepath.parent(); |
