Commit Graph

130 Commits

Author SHA1 Message Date
bjorn3 a03e769410 Improve standard library source remapping 2026-01-11 17:58:51 +00:00
bjorn3 4d0b725e06 Add a gdb helper for jit backtraces 2026-01-11 17:30:41 +00:00
bjorn3 8de4afd39b Fix rustc testsuite 2025-12-18 11:09:12 +00:00
bjorn3 3822cf126b Disable a bunch of rustc tests that fail with --panic-unwind-support 2025-12-16 17:00:09 +00:00
bjorn3 bb9dac5fe5 Disable linker plugin lto rustc test 2025-12-16 16:49:44 +00:00
bjorn3 49f1fa5110 Unconditionally install rustfmt
Rustfmt used to be optional for nightlies long ago, but it is now
always present. Also rename rust-toolchain to rust-toolchain.toml.
2025-12-16 16:42:17 +00:00
bjorn3 b73270f189 Fix rustc test suite 2025-12-16 16:40:44 +00:00
bjorn3 a842469f0d Adjust for rust-lang/rust default branch rename 2025-11-15 16:08:59 +00:00
bjorn3 296501b2fa Fix rustc test suite 2025-11-05 11:07:47 +00:00
bjorn3 ca23203edb Fix rustc test suite 2025-10-17 11:35:42 +00:00
bjorn3 7f0b2bb7d2 Fix rustc test suite 2025-10-06 10:29:01 +00:00
bjorn3 160c1091fb Fix rustc test suite 2025-10-01 10:30:11 +00:00
bjorn3 6f8394e03f Merge pull request #1593 from kehrazy/embed-source
Support -Zembed-source in debuginfo
2025-09-25 11:12:05 +02:00
bjorn3 64ec359283 Ignore rustc test again that still fails 2025-09-23 09:35:57 +00:00
bjorn3 72d8b6c7d5 Fix rustc test suite
And re-enable a no longer failing test.
2025-09-23 09:22:59 +00:00
Igor kehrazy 0e9595e648 Support -Zembed-source in debuginfo
- honour the session DWARF version, enabling v5 when embed-source is requested and plumb the flag through the debug context
  - attach embedded source bytes to line table FileInfo records alongside existing MD5 hashes
  - stop excluding rustc’s embed-source-dwarf run-make test so CG_CLIF exercises the feature
2025-09-22 20:11:49 +03:00
bjorn3 1988e68a35 Fix rustc test suite 2025-09-15 15:03:03 +00:00
bjorn3 1d61b61f69 Fix rustc test suite 2025-09-12 15:49:37 +00:00
bjorn3 d077c1e30c Fix rustc test suite 2025-09-07 14:55:38 +00:00
bjorn3 623611d65a Sync from rust 1ed3cd7030 2025-09-07 11:53:31 +00:00
Jieyou Xu 719b14c3a7 cg_clif: run run-make-cargo test suite 2025-09-05 21:39:50 +08:00
Jieyou Xu 39d8f6a7a3 cg_clif: account for moved tests/run-make-cargo/compiler-builtins 2025-09-05 21:39:50 +08:00
bjorn3 9de73c86f3 Rename the default branch to main 2025-09-02 17:23:07 +00:00
bjorn3 03505e815c Fix rustc test suite 2025-08-24 14:07:32 +00:00
bjorn3 8c3a60c087 Fix rustc test suite 2025-08-21 13:25:12 +00:00
bjorn3 f4383ffa73 Fix rustc test suite 2025-08-18 16:43:49 +00:00
bjorn3 d962e00471 Fix rustc test suite 2025-08-13 13:46:55 +00:00
bjorn3 878f319881 Fix rustc test suite 2025-08-05 08:32:33 +00:00
bjorn3 b49356587e Sync from rust 3048886e59 2025-07-31 09:29:00 +00:00
Jieyou Xu b56c50ff1b Update codegen_{cranelift,gcc} and opt-dist to use build.compiletest-allow-stage0 2025-07-30 19:55:07 +08:00
bjorn3 54db8a58d3 Revert "Remove unnecessary download-ci-llvm from setup_rust_fork.sh"
It caused LLVM to be cloned on CI.

This reverts commit 812388a717.
2025-07-29 15:00:41 +00:00
bjorn3 91afcca7c5 Fix rustc testsuite 2025-07-29 14:55:10 +00:00
bjorn3 812388a717 Remove unnecessary download-ci-llvm from setup_rust_fork.sh 2025-07-25 13:27:09 +00:00
bjorn3 e7c7bf04a7 Fix rustc testsuite 2025-07-21 09:14:09 +00:00
bjorn3 87c661ebbc Re-enable some rustc tests 2025-07-21 08:55:47 +00:00
bjorn3 8e7174905e Fix rustc testsuite 2025-07-12 15:52:14 +00:00
bjorn3 503612e92f Fix rustc testsuite 2025-07-10 13:12:51 +00:00
bjorn3 2f84e16016 Fix rustc test suite 2025-07-08 14:47:46 +00:00
bjorn3 87e71fe075 Fix rustc test suite 2025-07-07 12:48:18 +00:00
bjorn3 2eccb7a5f8 Fix rustc test suite 2025-07-01 08:21:45 +00:00
bjorn3 e0ea4b016a Put unwinding support behind a cargo feature 2025-06-30 08:08:15 +00:00
Jubilee a28aa95845 Rollup merge of #142955 - bjorn3:cg_clif_test_fixes, r=jieyouxu
Couple of test suite fixes for cg_clif

Most of these are required for getting the test suite running with panic=unwind for cg_clif.
2025-06-24 19:45:34 -07:00
bjorn3 b37d10e318 Merge commit '8c848e0604b5d26fad120914f822f564fe05c52a' into sync_cg_clif-2025-06-24 2025-06-24 11:32:02 +00:00
bjorn3 aaea8ebdba Fix normalization in linker-warning
Ensure rustc_codegen_cranelift doesn't get normalized to rustc. And
handle -Cpanic=abort.
2025-06-24 09:06:47 +00:00
bjorn3 4f24d142d9 Merge commit '979dcf8e2f213e4f4b645cb62e7fe9f4f2c0c785' into sync_cg_clif-2025-05-25 2025-05-25 18:51:16 +00:00
bjorn3 15dbafa81e Merge commit 'ba315abda789c9f59f2100102232bddb30b0d3d3' into sync_cg_clif-2025-03-30 2025-03-30 15:43:48 +00:00
bjorn3 04e580fcc5 Merge commit '8332329f83d4ef34479fec67cc21b21246dca6b5' into sync_cg_clif-2025-02-07 2025-02-07 20:58:27 +00:00
bjorn3 f14111806d Merge commit '728bc27f32c05ac8a9b5eb33fd101e479072984f' into sync_cg_clif-2025-01-20 2025-01-20 15:30:04 +00:00
bjorn3 2c2d2a7e0d Merge commit 'e39eacd2d415803ef82de3b6a314e4f2d0fbc4dc' into sync_cg_clif-2025-01-10 2025-01-10 09:02:07 +00:00
Erick Tryzelaar 3998964879 Only test proc-macro invalid compile flags with panic=unwind
Fuchsia explicitly builds rust and all rust targets with `-C
panic=abort` to minimize code generation size. However, when compiling a
proc-macro with this setting it can cause a warning to be emitted, which
breaks `tests/ui/invalid-compile-flags/crate-type-flag.rs`. This hasn't
been a problem in the past for us since we compile our proc macros on
host, rather than inside Fuchsia.

This attempts to fix the issue by explicitly requiring that we're using
the unwinder when compiling this test to avoid the warning being
emitted.

Fixes #135223
2025-01-08 18:00:26 +00:00