]> git.lizzy.rs Git - rust.git/commitdiff
SGX: Fix target linker used by bootstrap
authorJethro Beekman <jethro@fortanix.com>
Wed, 4 Dec 2019 15:02:28 +0000 (16:02 +0100)
committerJethro Beekman <jethro@fortanix.com>
Wed, 4 Dec 2019 15:02:28 +0000 (16:02 +0100)
src/bootstrap/lib.rs

index 39d7ea922bceda50770772869345adc83364b440..7ea2bb126a641ca8fa9ceb38b327ccdd3327bcbb 100644 (file)
@@ -810,6 +810,7 @@ fn linker(&self, target: Interned<String>) -> Option<&Path> {
                   !target.contains("emscripten") &&
                   !target.contains("wasm32") &&
                   !target.contains("nvptx") &&
+                  !target.contains("fortanix") &&
                   !target.contains("fuchsia") {
             Some(self.cc(target))
         } else {