We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e43f99c commit ef648f4Copy full SHA for ef648f4
src/librustc_codegen_llvm/back/link.rs
@@ -1396,10 +1396,6 @@ fn add_upstream_rust_crates(cmd: &mut dyn Linker,
1396
1397
// Same thing as above, but for dynamic crates instead of static crates.
1398
fn add_dynamic_crate(cmd: &mut dyn Linker, sess: &Session, cratepath: &Path) {
1399
- // If we're performing LTO, then it should have been previously required
1400
- // that all upstream rust dependencies were available in an rlib format.
1401
- assert!(!are_upstream_rust_objects_already_included(sess));
1402
-
1403
// Just need to tell the linker about where the library lives and
1404
// what its name is
1405
let parent = cratepath.parent();
0 commit comments