diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-08-26 21:05:16 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2016-08-26 21:05:50 -0500 |
| commit | 027eab2f87d8cd30949e257cb52f520077575ff2 (patch) | |
| tree | 7a83ac27dd9767f07b3223a69504d68ca922f3b5 /src/bootstrap/native.rs | |
| parent | e07dd59eaeb7be95afd2fb3dc131108ae750c91c (diff) | |
| download | rust-027eab2f87d8cd30949e257cb52f520077575ff2.tar.gz rust-027eab2f87d8cd30949e257cb52f520077575ff2.zip | |
initial support for s390x
A new target, `s390x-unknown-linux-gnu`, has been added to the compiler and can be used to build no_core/no_std Rust programs. Known limitations: - librustc_trans/cabi_s390x.rs is missing. This means no support for `extern "C" fn`. - No support for this arch in libc. This means std can be cross compiled for this target.
Diffstat (limited to 'src/bootstrap/native.rs')
| -rw-r--r-- | src/bootstrap/native.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index a78cef4f409..a4518d6ed76 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -65,7 +65,7 @@ pub fn llvm(build: &Build, target: &str) { .out_dir(&dst) .profile(if build.config.llvm_optimize {"Release"} else {"Debug"}) .define("LLVM_ENABLE_ASSERTIONS", assertions) - .define("LLVM_TARGETS_TO_BUILD", "X86;ARM;AArch64;Mips;PowerPC") + .define("LLVM_TARGETS_TO_BUILD", "X86;ARM;AArch64;Mips;PowerPC;SystemZ") .define("LLVM_INCLUDE_EXAMPLES", "OFF") .define("LLVM_INCLUDE_TESTS", "OFF") .define("LLVM_INCLUDE_DOCS", "OFF") |
