This commit is contained in:
Gus Caplan
2020-12-30 12:52:21 -06:00
parent 5d04957a4b
commit da66a31572
19 changed files with 129 additions and 18 deletions

View File

@@ -184,7 +184,7 @@ impl<'a> GccLinker<'a> {
// * On OSX they have their own linker, not binutils'
// * For WebAssembly the only functional linker is LLD, which doesn't
// support hint flags
!self.sess.target.is_like_osx && self.sess.target.arch != "wasm32"
!self.sess.target.is_like_osx && !self.sess.target.is_like_wasm
}
// Some platforms take hints about whether a library is static or dynamic.