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.
2 parents 9bf85a2 + 11dcd9a commit aa67e13Copy full SHA for aa67e13
src/librustc/back/link.rs
@@ -924,10 +924,13 @@ fn link_rlib(sess: Session,
924
fs::unlink(&bc);
925
}
926
927
- // Now that we've added files, some platforms need us to now update
928
- // the symbol table in the archive (because some platforms die when
929
- // adding files to the archive without symbols).
930
- a.update_symbols();
+ // After adding all files to the archive, we need to update the
+ // symbol table of the archive. This currently dies on OSX (see
+ // #11162), and isn't necessary there anyway
+ match sess.targ_cfg.os {
931
+ abi::OsMacos => {}
932
+ _ => { a.update_symbols(); }
933
+ }
934
935
936
None => {}
0 commit comments