1
Fork 0

Rollup merge of #67023 - jethrogb:jb/bootstrap-target-linker, r=alexcrichton

SGX: Fix target linker used by bootstrap

Bootstrap, for some reason, overrides the target linker. This is not correct for x86_64-fortanix-unknown-sgx. Add such targets to the list of exceptions.

r? @alexcrichton
This commit is contained in:
Yuki Okushi 2019-12-07 00:10:00 +09:00 committed by GitHub
commit fd4cec0303
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -810,6 +810,7 @@ impl Build {
!target.contains("emscripten") &&
!target.contains("wasm32") &&
!target.contains("nvptx") &&
!target.contains("fortanix") &&
!target.contains("fuchsia") {
Some(self.cc(target))
} else {