Skip to content

Commit 35c248f

Browse files
author
Jethro Beekman
committed
SGX target: don't pretend to be GNU/Linux to LLVM
1 parent 92b0f52 commit 35c248f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub fn target() -> Result<Target, String> {
6565
..Default::default()
6666
};
6767
Ok(Target {
68-
llvm_target: "x86_64-unknown-linux-gnu".into(),
68+
llvm_target: "x86_64-elf".into(),
6969
target_endian: "little".into(),
7070
target_pointer_width: "64".into(),
7171
target_c_int_width: "32".into(),

0 commit comments

Comments
 (0)