diff options
| author | Jethro Beekman <jethro@fortanix.com> | 2019-07-15 11:23:39 -0700 |
|---|---|---|
| committer | Jethro Beekman <jethro@fortanix.com> | 2019-07-15 11:23:39 -0700 |
| commit | 35c248f6f0d8b7fc010cb429937df0dd17fa6fc4 (patch) | |
| tree | 9bef42e867ec1f5f7a754fb7441d6292944a4858 /src | |
| parent | 92b0f52584c9375505ecdefdd7855b93a5919d51 (diff) | |
| download | rust-35c248f6f0d8b7fc010cb429937df0dd17fa6fc4.tar.gz rust-35c248f6f0d8b7fc010cb429937df0dd17fa6fc4.zip | |
SGX target: don't pretend to be GNU/Linux to LLVM
Diffstat (limited to 'src')
| -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(), |
