Skip to content

Commit da0c8fe

Browse files
Rollup merge of #62698 - jethrogb:jb/sgx-llvm-target, r=alexcrichton
SGX target: don't pretend to be GNU/Linux to LLVM See #62592 & rust-lang/compiler-builtins#303 r? @alexcrichton
2 parents ba3deeb + 35c248f commit da0c8fe

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)