Commit Graph

131 Commits

Author SHA1 Message Date
bjorn3
202b14c802 Fix rustc test suite 2023-05-26 08:40:39 +00:00
bjorn3
5b3bc29008 Allow testing a cranelift backend built into rustc itself
This avoids building cranelift twice in rust's CI and is a lot easier
than trying to make building of codegen backends work from within a
cargo invocation done by rust's build system.
2023-05-24 17:27:28 +00:00
bjorn3
a2f720d9fe Allow building and testing without rustup
This can be done by installing the nightly specified in
rust-toolchain.toml and then pointing the CARGO, RUSTC and RUSTDOC env
vars to the right executables.
2023-05-22 17:17:05 +00:00
bjorn3
e39191594f Support _mm_movemask_ps 2023-05-12 17:07:38 +00:00
bjorn3
899d193c9d Implement a couple more platform intrinsics 2023-05-12 17:07:31 +00:00
bjorn3
ecbb33a71b Implement and fix a couple more simd intrinsics 2023-05-12 13:25:58 +00:00
bjorn3
f6ba10dead Fix rustc test suite 2023-05-12 12:58:56 +00:00
bjorn3
4ef286c038 Fix rustc test suite 2023-05-05 12:46:12 +00:00
bjorn3
7905fa92ce Fix rustc test suite 2023-05-04 11:24:58 +00:00
bjorn3
0c79ce3bac Add two fixmes 2023-04-25 17:40:12 +00:00
bjorn3
c5be67ba36 Pass all extra args in rustc-clif before user supplied args
This allows the user to overwrite them and prevents confusing error
messages if the last argument supplied expects a value.
2023-04-25 17:39:20 +00:00
bjorn3
a7c797909c Make rustdoc using run-make tests work 2023-04-25 13:43:27 +00:00
bjorn3
dfaeab8c5c Fix rustc test suite
A lot of tests were moved from run-make-fulldeps to run-make. Only the
later test suite is currently tested.
2023-04-10 13:43:51 +00:00
bjorn3
c4b379460f Use --nocapture instead of RUST_TEST_NOCAPTURE
RUST_TEST_NOCAPTURE is no longer respected
2023-04-09 13:25:41 +00:00
bjorn3
fd4e1d55ea Fix rustc test suite 2023-03-30 12:38:09 +00:00
bjorn3
d0547f4c99 Run ui/extern tests from the rustc test suite 2023-03-26 17:34:40 +00:00
bjorn3
eed1f75415 Don't store vector types in ssa variables
They have been causing a lot of trouble. For example current MIR
building thinks that it is fine to dynamically index into them. And
there are different paths depending on if the repr(simd) struct uses
fields or a single array as interior. There is also trouble with moving
the inner array of a repr(simd) type that is an array wrapper.

If performance becomes a concern, I will implement this in a more
principled way.
2023-03-25 14:30:12 +00:00
bjorn3
76a1cfb0e6 Give an error if any of the wrappers can't find cargo, rustc or rustdoc
Fixes #1364
2023-03-21 13:41:28 +00:00
bjorn3
b42358a23f Use patched git-subtree from bjorn3/git@tqc-subtree-portable
This patched has been necessary for subtree syncs from the start, but
previously it was necessary to locally install tqc's patched git
version, which hasn't been updated for quite a while. I made a small
change to allow downloading it as script without requiring an entire git
installation for the patched version.
2023-03-15 14:20:18 +00:00
bjorn3
0b9e8c65d5 Fix rustc test suite 2023-03-10 13:44:34 +00:00
bjorn3
906b00e111 Fix rustc test suite 2023-03-04 12:59:27 +00:00
bjorn3
a45a81a6a2 Patch coretests separately from the standard library source 2023-02-26 12:15:25 +00:00
bjorn3
37c269e16a Fix typo 2023-02-19 17:56:34 +00:00
bjorn3
ef6df7e814 Handle wrappers around dyn* in receiver types
Fixes #1324
2023-02-19 17:41:08 +00:00
bjorn3
9e6dfba383 Allow codegen to unsize dyn* to dyn
cg_clif counterpart to rust-lang/rust#106532
2023-02-19 17:22:03 +00:00
bjorn3
b08762493c Fix warnings 2023-02-19 17:11:28 +00:00
bjorn3
98ddd69aae Add wrappers to dist/bin/ too in addition to dist/
Rust's build system since recently expects rustc to be in a bin/
directory if it is specified using the rustc option in config.toml.
2023-02-19 15:28:01 +00:00
bjorn3
718574a53e Support updating to specific dates in rustup.sh
Fixes #1294
2023-02-17 18:55:51 +01:00
bjorn3
572e32b4cd Fix rustc test suite 2023-01-31 17:39:19 +00:00
bjorn3
6c58be8e51 Fix rustc test suite 2023-01-20 15:35:50 +00:00
bjorn3
fb6d048c4d Update patch 2023-01-20 12:49:27 +01:00
bjorn3
92b4c76652 Update rustup.sh for the moved dir of the sysroot source 2023-01-20 12:41:27 +01:00
bjorn3
954dfd1198 Sync from rust 56ee85274e 2023-01-20 12:22:21 +01:00
bjorn3
629eab79c1 Avoid hard-coded rustc when building wrappers 2023-01-14 14:18:11 +00:00
bjorn3
397fafa160 Don't require git user to be configured for testing rust 2023-01-13 13:51:51 +00:00
Albert Larsan
4e47bd0464 Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
bjorn3
4c97569a54 Move patched sysroot from build_sysroot/ to download/ 2023-01-05 18:14:40 +00:00
bjorn3
571405deea Enable some fixed rustc tests
cc #381
2023-01-04 15:30:20 +00:00
bjorn3
1c724ee6d0 Re-enable some rustc tests 2022-12-16 13:29:26 +00:00
bjorn3
98a276b589 Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14 2022-12-14 19:30:46 +01:00
bjorn3
a89cef5a0a Update rustc test suite failure list 2022-12-11 11:14:26 +00:00
bjorn3
3cf8994780 Ignore out-of-stack test
cc #1301
2022-12-01 15:40:52 +01:00
bjorn3
26d48c9a37 Rename the build/ directory to dist/
This will allow putting all temporary build artifacts in build/ in the
future, keeping all the build output artifacts in dist/
2022-11-28 13:01:49 +00:00
bjorn3
24ebf425ae Update rustc test suite failure list 2022-11-22 19:29:06 +00:00
bjorn3
9723c79af7 Fix running rustc tests 2022-11-20 19:32:44 +00:00
bjorn3
449f95b7a5 Update rustc test suite failure list 2022-11-03 11:55:06 +00:00
bjorn3
f17dbfc933 Add rustdoc-clif wrapper 2022-10-28 12:51:15 +00:00
bjorn3
9950bd1dc5 Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23 2022-10-23 16:22:55 +02: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