]> git.lizzy.rs Git - rust.git/commitdiff
SGX target: don't pretend to be GNU/Linux to LLVM
authorJethro Beekman <jethro@fortanix.com>
Mon, 15 Jul 2019 18:23:39 +0000 (11:23 -0700)
committerJethro Beekman <jethro@fortanix.com>
Mon, 15 Jul 2019 18:23:39 +0000 (11:23 -0700)
src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs

index 46cf4cd8ae3530dd9ac6c0e68588be969b4d4b46..7c24c88f7aee07a2e28464b4f8f7df49bdac56a6 100644 (file)
@@ -65,7 +65,7 @@ pub fn target() -> Result<Target, String> {
         ..Default::default()
     };
     Ok(Target {
-        llvm_target: "x86_64-unknown-linux-gnu".into(),
+        llvm_target: "x86_64-elf".into(),
         target_endian: "little".into(),
         target_pointer_width: "64".into(),
         target_c_int_width: "32".into(),