rust/src/libstd
bors 4812cf392f Auto merge of #36369 - uweigand:s390x, r=alexcrichton
Add s390x support

This adds support for building the Rust compiler and standard
library for s390x-linux, allowing a full cross-bootstrap sequence
to complete.  This includes:

- Makefile/configure changes to allow native s390x builds
- Full Rust compiler support for the s390x C ABI
  (only the non-vector ABI is supported at this point)
- Port of the standard library to s390x
- Update the liblibc submodule to a version including s390x support
- Testsuite fixes to allow clean "make check" on s390x

Caveats:

- Resets base cpu to "z10" to bring support in sync with the default
  behaviour of other compilers on the platforms.  (Usually, upstream
  supports all older processors; a distribution build may then chose
  to require a more recent base version.)  (Also, using zEC12 causes
  failures in the valgrind tests since valgrind doesn't fully support
  this CPU yet.)

- z13 vector ABI is not yet supported.  To ensure compatible code
  generation, the -vector feature is passed to LLVM.  Note that this
  means that even when compiling for z13, no vector instructions
  will be used.  In the future, support for the vector ABI should be
  added (this will require common code support for different ABIs
  that need different data_layout strings on the same platform).

- Two test cases are (temporarily) ignored on s390x to allow passing
  the test suite.  The underlying issues still need to be fixed:
  * debuginfo/simd.rs fails because of incorrect debug information.
    This seems to be a LLVM bug (also seen with C code).
  * run-pass/union/union-basic.rs simply seems to be incorrect for
    all big-endian platforms.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
2016-09-11 10:53:24 -07:00
..
collections Add missing urls 2016-09-06 16:31:18 +02:00
ffi Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
io Rollup merge of #35911 - tbu-:pr_io_errorkind_traits, r=alexcrichton 2016-08-31 13:53:33 -07:00
net doc: make TcpListener example more simple 2016-08-30 06:42:56 +02:00
num Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
os Add s390x support 2016-09-09 22:28:19 +01:00
prelude End stdlib module summaries with a full stop. 2016-03-04 17:37:11 -05:00
rand std: restructure rand os code into sys modules 2016-02-17 16:21:32 -08:00
sync Auto merge of #36104 - KiChjang:issue-35847, r=brson 2016-09-03 11:24:01 -07:00
sys Add s390x support 2016-09-09 22:28:19 +01:00
thread Clean up thread-local storage docs 2016-09-04 10:16:25 -04:00
time Add doc example for std::time::Instant::elapsed. 2016-09-07 09:23:17 -04:00
ascii.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
build.rs for mips-musl pass -ldl and co to the linker 2016-08-30 10:25:43 -05:00
Cargo.toml Update gcc crate dependency to 0.3.27. 2016-07-30 15:39:13 -05:00
env.rs Add s390x support 2016-09-09 22:28:19 +01:00
error.rs Implement TryFrom<u32> for char 2016-08-29 17:34:02 +02:00
fs.rs Rollup merge of #35786 - GuillaumeGomez:paths_doc, r=steveklabnik 2016-08-31 13:53:33 -07:00
lib.rs Replace _, _, _ with .. 2016-09-04 12:27:01 +03:00
macros.rs doc: Mention that writeln! and println! always use LF 2016-07-12 14:39:16 +09:00
memchr.rs memrchr: Use a conditional instead of subtracting a complicated min 2016-08-24 21:41:23 +02:00
panic.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
panicking.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
path.rs Rollup merge of #36314 - tshepang:not-needed, r=GuillaumeGomez 2016-09-10 15:57:50 +02:00
primitive_docs.rs Fix links 2016-08-18 15:43:35 +12:00
process.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
rt.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
rtdeps.rs remove some anys that are no longer necessary 2016-07-30 15:39:13 -05:00