Skip to content
Permalink
Browse files

Remove invalid assertion back:🔗:from add_upstream_rust_crates().

  • Loading branch information...
michaelwoerister committed Apr 4, 2019
1 parent e43f99c commit ef648f4a4936700c7ebf85f82cbcba29a6187bcc
Showing with 0 additions and 4 deletions.
  1. +0 −4 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();

0 comments on commit ef648f4

Please sign in to comment.
You can’t perform that action at this time.