Commit Graph

80 Commits

Author SHA1 Message Date
bjorn3 f17dbfc933 Add rustdoc-clif wrapper 2022-10-28 12:51:15 +00:00
bjorn3 7a9abf5ab2 Update rustc test suite failure list 2022-10-23 14:14:35 +02:00
bjorn3 dae6a30d0b Remove workaround for rustbuild bug 2022-10-05 13:55:13 +02:00
bjorn3 887ca1fd2a Update rustc test suite failure list 2022-09-25 14:06:07 +00:00
bjorn3 322ff0ba05 Work around rustbuild bug 2022-09-25 14:05:01 +00:00
bjorn3 d82b696594 Update for latests rustc test suite changes 2022-09-15 16:14:29 +00:00
bjorn3 244455d8e3 Apply sysroot patches to rustc bootstrap and rustc test suite tests
This is necessary on AArch64 as 128bit atomics aren't yet supported by
Cranelift.
2022-09-01 16:41:01 +00:00
Afonso Bordado 3ce83dc469 Move test.sh to y.rs test 2022-07-30 11:15:51 +01:00
bjorn3 fd2669d1e9 Fix -Zpolymorphize 2022-07-25 13:17:53 +00:00
bjorn3 5fcedf62df Update for changes to the rustc test suite 2022-07-18 11:57:22 +00:00
bjorn3 b8aab37464 Update for changes to the rustc test suite 2022-07-03 13:41:29 +00:00
bjorn3 8a4557e01c Update for changes to the rustc test suite 2022-06-23 14:32:08 +00:00
bjorn3 ec841f58d3 Fix running rustc tests
There are still two failures due to incorrect test annotations
2022-06-09 14:56:53 +00:00
Karl Meakin e5f011aba6 Only enable JIT tests on x86_64
Cranelift currently only supports JIT on x86_64 targets.
Disable JIT tests on all other targets, so that failing tests are
ignored.
2022-05-09 16:34:16 +01:00
bjorn3 ddde38d132 Fix jit mode with cargo-clif wrapper 2022-05-01 15:54:12 +02:00
bjorn3 f3fc94f239 Fix #[track_caller] with MIR inlining 2022-04-30 15:01:57 +02:00
bjorn3 2e65a8f2ca Use -Zcodegen-backend instead of a rustc replacement in cargo-clif 2022-04-29 19:13:41 +02:00
bjorn3 377f44d38c Inline ext_config.sh 2022-04-29 19:07:29 +02:00
bjorn3 5e0c62372c Minor changes to tests.sh 2022-04-27 16:54:35 +02:00
bjorn3 f429b4093f Fix running the rustc test suite 2022-04-27 14:09:41 +02:00
MikaelUrankar 83d470d91c Don't assume /bin/bash is available on every system. (#1223)
Co-authored-by: MikaelUrankar <mikael.urankar@gmail.com>
2022-04-14 14:18:13 +02:00
bjorn3 557a09f6b5 Ignore broken rustc test 2022-04-05 12:46:56 +02:00
bjorn3 bc62bd55bd Sync from rust 949b98cab8 2022-04-05 11:31:42 +02:00
Yuri Astrakhan ae2f203e24 Spellchecking compiler code
Address some spelling mistakes in strings, private function names, and function params.
2022-03-30 01:42:10 -04:00
bjorn3 3c030e2425 Fix NaN handling of simd float min and max operations 2022-03-25 20:25:11 +01:00
bjorn3 f3d97cce27 Fix saturating float casts test
Fixes #737
2022-03-25 19:32:14 +01:00
bjorn3 cf1149fb38 Update list of ignored rustc tests 2022-03-22 12:35:49 +01:00
bjorn3 d1904e5855 Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20 2022-03-20 16:55:21 +01:00
bjorn3 370c397ec9 Run part of the simd test suite 2022-03-20 12:14:24 +01:00
bjorn3 636fb020c4 Ignore rustc tests with needs-unwind directive 2022-03-20 12:14:24 +01:00
bjorn3 e7e5016207 Move test and clarify problem of some other tests 2022-03-20 12:14:24 +01:00
bjorn3 ef4512b7dc Codegen 128bit atomic loads and stores for compiler builtins as trap
128bit atomics are unstable and only enabled on AArch64 and x86_64 macOS.
Cranelift doesn't support 128bit atomics yet.
2022-03-19 12:56:03 +01:00
bjorn3 afd59464a9 Reorganize test list 2022-03-18 16:38:28 +01:00
bjorn3 d1c8cf76b0 Run tests with warnings 2022-03-18 15:38:58 +01:00
bjorn3 fc80e8b970 Re-enable fixed tests 2022-03-18 14:46:40 +01:00
bjorn3 ce577f7f12 Fix and re-enable some rustc tests
* Set `config.opts.trimmed_def_paths` to `GoodPath` to trim def paths in
  error messages as expected by the rustc test suite
* Fix `$SRC_DIR` normalization for out of tree compiled standard library
2022-03-17 20:59:39 +01:00
bjorn3 7eb454124f Update list of ignores rustc tests 2022-03-13 19:24:57 +01:00
bjorn3 a48fea6dda Add and remove some fixmes 2022-03-13 17:58:02 +01:00
bjorn3 5841caa6ef Fix compiletest compilation 2022-03-08 12:13:33 +01:00
bjorn3 b5cbb87e62 Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23 2022-02-23 11:49:34 +01:00
bjorn3 2aad0066ba Update ignored rustc tests list 2022-02-20 17:11:59 +01:00
bjorn3 583333a2b2 Don't try to reinstall ripgrep if it is already installed 2022-02-06 15:13:32 +01:00
bjorn3 b91ecc78bf Update rustc test ignore list 2022-01-18 13:59:40 +01:00
bjorn3 a5a14258e5 Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30 2021-12-30 14:53:41 +01:00
bjorn3 0dd3d28cff Rename cargo executable to cargo-clif
This allows executing it like cargo clif build if you add it to your
PATH. It also fixes infinite recursion on Windows when invoking it as
Windows includes the current directory in PATH by default.

Fixes #971
2021-12-30 11:39:30 +01:00
bjorn3 ad5966ed4c Run incremental rustc tests and update broken test list 2021-12-26 14:11:09 +01:00
bjorn3 d3323fe685 Test rustc tests with unstable features disabled 2021-12-26 14:10:30 +01:00
bjorn3 799e067912 Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20 2021-12-20 18:56:35 +01:00
bjorn3 97e5045493 Fix taking address of truly unsized type field of unsized adt 2021-12-20 18:49:43 +01:00
bjorn3 97a92ea6b2 Rustc tests: ignore a couple more rustdoc tests 2021-12-16 14:36:02 +01:00