about summary refs log tree commit diff
path: root/src/test/run-pass/conditional-compile-arch.rs
AgeCommit message (Collapse)AuthorLines
2018-09-06Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.Felix S. Klock II-47/+0
2018-01-24Add powerpc to run-pass/conditional-compile-arch.rsMarco A L Barbosa-0/+3
2017-08-03Recognize SPARC in more tests where architecture matters.Danek Duvall-0/+3
2017-06-13Ignore some failing test on wasm32-unknown-emscriptenMarco A L Barbosa-0/+3
See #42629 and #42630.
2017-01-12Add mips architectures to conditional-compile testXimin Luo-0/+6
2016-09-09Add s390x supportUlrich Weigand-0/+3
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-02-10More emscripten test fixesPierre Krieger-0/+3
2016-02-01Remove "powerpc64le" and "mipsel" target_archAlex Crichton-3/+0
Currently the `mipsel-unknown-linux-gnu` target doesn't actually set the `target_arch` value to `mipsel` but it rather uses `mips`. Alternatively the `powerpc64le` target does indeed set the `target_arch` as `powerpc64le`, causing a bit of inconsistency between theset two. As these are just the same instance of one instruction set, let's use `target_endian` to switch between them and only set the `target_arch` as one value. This should cut down on the number of `#[cfg]` annotations necessary and all around be a little more ergonomic.
2016-01-13Add powerpc64 and powerpc64le supportAnton Blanchard-0/+6
This adds support for big endian and little endian PowerPC64. make check runs clean apart from one big endian backtrace issue.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-01-03Initial version of AArch64 support.Akos Kiss-1/+4
Adds AArch64 knowledge to: * configure, * make files, * sources, * tests, and * documentation.
2013-04-23test: fix for missing ARM supportYoung-il Choi-0/+3
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-2/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2011-11-15Support conditional compilation based on architectureBrian Anderson-0/+5
target_os = "x86" or target_os = "x86_64"