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 ff4ca95 commit 0645c3dCopy full SHA for 0645c3d
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