about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-28 00:36:16 -0700
committerGitHub <noreply@github.com>2016-08-28 00:36:16 -0700
commit78a0838756d3df06ba64230600acfbed5ac6d0d7 (patch)
treefa57af27c82a0e0b878d2dd3057e4b746d1495c3 /src/rustllvm/PassWrapper.cpp
parentaa05a153630b64a6928128dae333714c0814c4ca (diff)
parent027eab2f87d8cd30949e257cb52f520077575ff2 (diff)
downloadrust-78a0838756d3df06ba64230600acfbed5ac6d0d7.tar.gz
rust-78a0838756d3df06ba64230600acfbed5ac6d0d7.zip
Auto merge of #36028 - japaric:s390x, r=alexcrichton
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't be cross
  compiled for this target.

r? @alexcrichton

This time I couldn't test running a binary cross compiled to this target under QEMU because the qemu-s390x that ships with Ubuntu 16.04 SIGABRTs with every s390x binary I run it with.

Change in binary size of `librustc_llvm.so`:

Without this commit (stage1): 41895736 bytes
With this commit (stage1): 42899016 bytes

~2.4% increase
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions