We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63b3bac commit d2f4a9cCopy full SHA for d2f4a9c
compiler/rustc_codegen_ssa/src/back/link.rs
@@ -253,7 +253,7 @@ pub fn each_linked_rlib(
253
};
254
for &cnum in crates {
255
match fmts.get(cnum.as_usize() - 1) {
256
- Some(&Linkage::NotLinked | &Linkage::IncludedFromDylib) => continue,
+ Some(&Linkage::NotLinked | &Linkage::Dynamic | &Linkage::IncludedFromDylib) => continue,
257
Some(_) => {}
258
None => return Err(errors::LinkRlibError::MissingFormat),
259
}
0 commit comments