diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-07-15 19:55:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-15 19:55:16 -0400 |
| commit | da0c8feba49e5741420f545add7243e7c0ecc881 (patch) | |
| tree | d2b3c2f98ca7ab753a084f6c2e1450539cd9b7ea | |
| parent | ba3deeb01aac3d459b4ec82ed304409cc492f18c (diff) | |
| parent | 35c248f6f0d8b7fc010cb429937df0dd17fa6fc4 (diff) | |
| download | rust-da0c8feba49e5741420f545add7243e7c0ecc881.tar.gz rust-da0c8feba49e5741420f545add7243e7c0ecc881.zip | |
Rollup merge of #62698 - jethrogb:jb/sgx-llvm-target, r=alexcrichton
SGX target: don't pretend to be GNU/Linux to LLVM See https://github.com/rust-lang/rust/pull/62592 & https://github.com/rust-lang-nursery/compiler-builtins/issues/303 r? @alexcrichton
| -rw-r--r-- | src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs b/src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs index 46cf4cd8ae3..7c24c88f7ae 100644 --- a/src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs +++ b/src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs @@ -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(), |
