bjorn3
34d63e4c1d
Use GHA log grouping
2023-07-12 16:45:42 +00:00
bjorn3
c28878d8f2
Rustup to rustc 1.73.0-nightly ( 993deaa0b
2023-07-11)
2023-07-12 14:31:00 +00:00
bjorn3
d169ee3457
Recurse into function signatures in assert_assignable
...
Fixes #1311
2023-06-19 19:30:44 +00:00
bjorn3
43064b005d
Update portable-simd
2023-06-19 17:39:38 +00:00
bjorn3
932645473c
Fix warning about the cargo resolver to use
2023-06-19 17:36:32 +00:00
bjorn3
0b3060138b
Use -Zinline-mir instead of -Zmir-opt-level=3
...
Except for mir inlining all mir opts that are beneficial for cg_clif now
run on -Zmir-opt-level=2. -Zmir-opt-level=3 enables some more expensive
optimizations.
2023-06-19 17:21:30 +00:00
bjorn3
485d7e129f
Remove outdated fixme
2023-06-13 16:39:59 +00:00
bjorn3
a691b14aee
Allow skipping tests from the commandline
2023-06-13 16:39:59 +00:00
bjorn3
8c1c84d79e
Copy Cargo.lock over in ./y.sh prepare
...
This makes it easier for ./x.py to vendor all dependencies
2023-06-13 16:39:59 +00:00
bjorn3
bcac222013
Lazily patch the standard library
2023-06-13 16:39:59 +00:00
bjorn3
d0ea8bbc5e
Only copy library dir for stdlib
...
When building as part of rust, the sysroot source dir is symlinked to
the main source dir, which contains the build dir to which we are likely
copying.
2023-06-13 16:39:59 +00:00
bjorn3
6b9af8cb36
Disable all incremental compilation for CARGO_BUILD_INCREMENTAL=false
2023-06-13 16:39:59 +00:00
bjorn3
eb3e8bb7d7
Move some profile settings out of the stdlib cargo workspace patch
2023-06-13 16:39:59 +00:00
bjorn3
8ad9e9f861
Ensure everything has a lockfile
2023-06-13 16:39:59 +00:00
bjorn3
d3da972441
Write stdlib workspace Cargo.toml directly in prepare.rs
2023-06-13 16:39:59 +00:00
bjorn3
67f9fe6863
Lazily patch all test projects
2023-06-13 16:39:59 +00:00
bjorn3
3baee66f9b
Rework standard library building
2023-06-13 16:39:59 +00:00
bjorn3
54eaa5382c
Enable compiler-builtins no-asm feature using --features flag
2023-06-13 16:39:59 +00:00
bjorn3
b9129c0d6b
Rename a couple of build dirs for consistency
2023-06-13 16:39:59 +00:00
bjorn3
fc23a8a7e0
Lazily patch coretests
2023-06-13 16:39:59 +00:00
bjorn3
2c38effe28
Don't patch in place in apply_patches
...
This will make it easier to skip patching if unnecessary in the future
2023-06-13 16:39:59 +00:00
bjorn3
75327f8587
Reuse existing download in y.sh prepare if fresh
2023-06-13 16:39:59 +00:00
bjorn3
0e4139922e
Put patched sources in build/ instead of download/
2023-06-13 16:39:59 +00:00
bjorn3
d0b8896189
Allow building the build system using cargo
...
Rust's build system only handles cargo, not rustc.
2023-06-13 16:39:59 +00:00
bjorn3
ce3f300e40
Add --download-dir option to specify download dir separate from --out-dir
2023-06-13 16:39:59 +00:00
bjorn3
134dc33485
Fix testing with unstable features disabled
2023-05-24 17:31:25 +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
a684753a68
Merge pull request #1374 from bjorn3/non_rustup_build3
...
Allow building and testing without rustup
2023-05-22 20:58:07 +02:00
bjorn3
24f1569c85
Enable overflow-checks on CI
...
Unlike rustc with cargo debug-assertions = true doesn't imply overflow-checks = true
2023-05-22 18:35:56 +00:00
bjorn3
a555b8ab7e
Add fixme
2023-05-22 17:17:50 +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
22befab611
Avoid hard-coding rustc path in prepare.rs
2023-05-22 17:17:05 +00:00
bjorn3
b1d8b7186c
Only pass --frozen to cargo when it is passed to y.rs
2023-05-22 17:17:05 +00:00
bjorn3
2155c03500
Inline Compiler::bootstrap_with_triple
2023-05-22 17:10:55 +00:00
bjorn3
de8a4d5d46
Remove all implicit "rustc" from rustc_info.rs
2023-05-22 17:10:55 +00:00
bjorn3
b773282309
Use --sysroot ... instead of --sysroot=...
...
Rust's build system doesn't handle --sysroot=... correctly
2023-05-14 13:00:00 +00:00
bjorn3
521d937116
Pass --cap-lints=allow to tests
2023-05-14 12:53:00 +00:00
bjorn3
a43f08363e
Benchmark clif release builds with ./y.rs bench
2023-05-14 12:19:11 +00:00
bjorn3
88ae8fc9c8
Allow passing more than two commands to benchmark to hyperfine_command
2023-05-14 12:04:55 +00:00
bjorn3
b56d4ab66b
Update portable-simd test
2023-04-25 12:32:24 +00:00
bjorn3
4ece6d0e44
Minor build perf optimization
2023-04-13 13:29:00 +00:00
bjorn3
4435686a48
Fix warnings when building the build system in rust's CI
2023-04-13 13:17:01 +00:00
bjorn3
c0f2b10e15
Skip building crates without tests for regex
...
regex-capi and regex-debug don't have any tests. Nor do they contain any
code that is useful to test with cg_clif.
2023-03-26 14:07:51 +00:00
bjorn3
5b1268d16b
Update portable-simd
...
This avoids building wasm-bindgen-test on non-wasm targets, reducing
test time.
2023-03-26 13:44:21 +00:00
bjorn3
ae0a22cb89
Update regex to fix FreeBSD tests
...
Fixes #1360
2023-03-21 14:52:03 +00:00
bjorn3
b88e129915
Avoid a duplicate "[TEST] rust-random/rand"
2023-02-26 17:37:29 +00:00
bjorn3
c615e9248a
Run tests for all crates in the regex workspace
2023-02-26 17:35:53 +00:00
bjorn3
b193419ec7
Allow multiple threads and panicking tests when testing regex
...
I guess this was a leftover from very early in the development of
cg_clif. Allowing multiple threads significantly improves performance,
while panicking tests can run now thanks to -Zpanic-abort-tests.
2023-02-26 16:50:08 +00:00
bjorn3
19ed2139a3
Remove no longer necessary code removing "[codegen mono items]" from test output
2023-02-26 14:34:36 +00:00
bjorn3
5e6cde150e
Remove --cap-lint warn from regex test
2023-02-26 14:34:36 +00:00