Commit Graph

25 Commits

Author SHA1 Message Date
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
9723c79af7 Fix running rustc tests 2022-11-20 19:32:44 +00:00
bjorn3
dae6a30d0b Remove workaround for rustbuild bug 2022-10-05 13:55:13 +02: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
bjorn3
5fcedf62df Update for changes to the rustc test suite 2022-07-18 11:57:22 +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
bjorn3
2e65a8f2ca Use -Zcodegen-backend instead of a rustc replacement in cargo-clif 2022-04-29 19:13:41 +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
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
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
5841caa6ef Fix compiletest compilation 2022-03-08 12:13:33 +01:00
bjorn3
d3323fe685 Test rustc tests with unstable features disabled 2021-12-26 14:10:30 +01:00
bjorn3
d0f97fc039 Rustup to rustc 1.59.0-nightly (c5ecc1570 2021-12-15) 2021-12-16 14:11:04 +01:00
bjorn3
a65a523d80 Fix rustc tests 2021-11-26 17:05:25 +01:00
bjorn3
472f9f9d62 Update compiler_builtins version in setup_rust_fork.sh 2021-07-26 19:19:57 +02:00
bjorn3
80e9188fb1 Rewrite cargo.sh in rust 2021-06-20 12:56:47 +02:00
bjorn3
2db4e50618 Rewrite build.sh in rust
This makes it easier to compile cg_clif on systems that don't support
bash shell scripts like Windows
2021-06-19 13:54:25 +02:00
bjorn3
0ddb937624 Update rust patch for compiler_builtins update 2021-06-17 18:42:09 +02:00
bjorn3
9fc56fb2f4 Update rustc bootstrap patch 2021-05-24 18:21:03 +02:00
bjorn3
6266e9d907 Update rust bootstrap patches 2021-05-04 14:13:07 +02:00
bjorn3
24cac8fa54 Fix rustc tests by updating compiler-builtins dep to 0.1.40 2021-04-16 12:21:29 +02:00
bjorn3
f545a21fbe Split rust fork setup out of test_bootstrap.sh 2021-03-15 14:21:15 +01:00