Skip to content

Commit

Permalink
Rollup merge of rust-lang#62698 - jethrogb:jb/sgx-llvm-target, r=alex…
Browse files Browse the repository at this point in the history
…crichton

SGX target: don't pretend to be GNU/Linux to LLVM

See rust-lang#62592 & rust-lang/compiler-builtins#303

r? @alexcrichton
  • Loading branch information
Mark-Simulacrum authored Jul 15, 2019
2 parents ba3deeb + 35c248f commit da0c8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit da0c8fe

Please sign in to comment.