Commit graph

103 commits

Author SHA1 Message Date
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 '8c848e0604' 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 '979dcf8e2f' into sync_cg_clif-2025-05-25 2025-05-25 18:51:16 +00:00
bjorn3
15dbafa81e Merge commit 'ba315abda7' into sync_cg_clif-2025-03-30 2025-03-30 15:43:48 +00:00
bjorn3
04e580fcc5 Merge commit '8332329f83' into sync_cg_clif-2025-02-07 2025-02-07 20:58:27 +00:00
bjorn3
f14111806d Merge commit '728bc27f32' into sync_cg_clif-2025-01-20 2025-01-20 15:30:04 +00:00
bjorn3
2c2d2a7e0d Merge commit 'e39eacd2d4' 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
bjorn3
a2d78f77f4 Merge commit '918acafef6' into sync_cg_clif-2025-01-05 2025-01-05 15:44:46 +00:00
bjorn3
e8ad19987d Merge commit '57845a397e' into sync_cg_clif-2024-12-06 2024-12-06 12:10:30 +00:00
Jieyou Xu
c5c3709d80 Explicitly disable llvm tools for cranelift 2024-11-19 20:29:54 +08:00
bjorn3
df983ce470 Merge commit '1fa693ca44' into sync_cg_clif-2024-11-09 2024-11-09 13:48:06 +00:00
bjorn3
e2a5108657 Merge commit '5b1246bb4b' into sync_cg_clif-2024-11-02 2024-11-02 14:53:30 +00:00
bjorn3
32b608a439 Merge commit '6d35b4c9a0' into sync_cg_clif-2024-09-22 2024-09-23 11:20:46 +00:00
bjorn3
3ea9313de3 Merge commit '69b3f5a426' into sync_cg_clif-2024-08-09 2024-08-09 17:18:46 +00:00
bjorn3
d0d2e60886 Merge commit '659243d85c' into sync_cg_clif-2024-07-13 2024-07-13 18:39:03 +00:00
bjorn3
5adaed06a0 Merge commit '49cd5dd454' into sync_cg_clif-2024-06-30 2024-06-30 11:28:14 +00:00
bjorn3
ed7d97e4c8 Merge commit '3270432f4b' into sync_cg_clif-2024-05-13 2024-05-13 13:26:33 +00:00
bjorn3
e243f8d0e3 Merge commit '89f54caacf' into sync_cg_clif-2024-04-11 2024-04-11 10:42:48 +00:00
bjorn3
f91bd7882f Merge commit 'fbda869b4e' into sync_cg_clif-2024-04-05 2024-04-05 16:20:23 +00:00
bjorn3
c5c31447a7 Merge commit '09fae60a86' into sync_cg_clif-2024-03-28 2024-03-28 11:43:35 +00:00
Matthias Krüger
22e4175bd6 Rollup merge of #123034 - bjorn3:test_ignores, r=compiler-errors
Add a bunch of needs-unwind annotations to tests

To filter out tests that fail with cg_clif due to missing panic=unwind support.
2024-03-25 17:05:36 +01:00
bjorn3
49777c3bfa Add needs-unwind for proc macro tests
Rustc gives a warning when compiling proc macros with panic=abort.
2024-03-25 15:02:55 +00:00
bjorn3
c53025b45d Add needs-unwind annotations to a couple of tests 2024-03-25 14:19:07 +00:00
Michael Goulet
4609a48d6a Add async-closures/once.rs back to cranelift tests 2024-03-24 21:42:32 -04:00
bjorn3
4b61629951 Merge commit '4cf4ffc6ba' into sync_cg_clif-2024-03-16 2024-03-16 17:23:11 +00:00
bjorn3
5ec45d3d7a Merge commit '54cbb6e753' into sync_cg_clif-2024-03-08 2024-03-08 20:41:29 +00:00
bjorn3
0cfbc47b9a Merge commit '6d355f6844' into sync_cg_clif-2023-12-31 2023-12-31 13:29:53 +00:00
bjorn3
7325d0de63 Merge commit '26c02eb290' into sync_cg_clif-2023-12-24 2023-12-24 14:35:19 +00:00
bjorn3
a4be90ed16 Merge commit '3a9bf72932' into sync_cg_clif-2023-12-19 2023-12-19 12:46:39 +00:00
bors
400cd47c28 Auto merge of #118279 - bjorn3:sync_cg_clif-2023-11-25, r=bjorn3
Subtree sync for rustc_codegen_cranelift

The main highlights this time are implementing a bunch of new vendor intrinsics and fixing some existing ones. And fixing polymorphization for coroutines.

r? `@ghost`

`@rustbot` label +A-codegen +A-cranelift +T-compiler
2023-11-25 13:08:29 +00:00
bjorn3
1988cf4a18 Merge commit '710c67909d' into sync_cg_clif-2023-11-25 2023-11-25 10:05:52 +00:00
David Tolnay
abf08329bb Replace option.map(cond) == Some(true) with option.is_some_and(cond) 2023-11-24 09:14:09 -08:00
bjorn3
dfc669b74c Merge commit 'def04540a4' into sync_cg_clif-2023-11-16 2023-11-16 21:15:07 +00:00
bjorn3
d49fd9f877 Merge commit 'c84d1871dc' into sync_cg_clif-2023-11-10 2023-11-10 11:30:51 +00:00