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
This commit is contained in:
Mark Rousskov 2019-07-15 19:55:16 -04:00 committed by GitHub
commit da0c8feba4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(),