don't copy symbols from dylibs with -Zdylib-lto
This commit is contained in:
parent
63b3bac77c
commit
d2f4a9ca25
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ pub fn each_linked_rlib(
|
|||
};
|
||||
for &cnum in crates {
|
||||
match fmts.get(cnum.as_usize() - 1) {
|
||||
Some(&Linkage::NotLinked | &Linkage::IncludedFromDylib) => continue,
|
||||
Some(&Linkage::NotLinked | &Linkage::Dynamic | &Linkage::IncludedFromDylib) => continue,
|
||||
Some(_) => {}
|
||||
None => return Err(errors::LinkRlibError::MissingFormat),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue