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
91afcca7c5
Fix rustc testsuite
2025-07-29 14:55:10 +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
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
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 '918acafef682d0d0ca30b47de4768210417ff362' into sync_cg_clif-2025-01-05
2025-01-05 15:44:46 +00:00
bjorn3
e8ad19987d
Merge commit '57845a397ec15e4e6a561ed2c4bfa3dcf49144fb' into sync_cg_clif-2024-12-06
2024-12-06 12:10:30 +00:00
bjorn3
e2a5108657
Merge commit '5b1246bb4bed72fd0bb8fa497d8e5ed2c7f3515c' into sync_cg_clif-2024-11-02
2024-11-02 14:53:30 +00:00
bjorn3
32b608a439
Merge commit '6d35b4c9a04580366fd800692a5b5db79d766530' into sync_cg_clif-2024-09-22
2024-09-23 11:20:46 +00:00
bjorn3
3ea9313de3
Merge commit '69b3f5a426a5c1c05236a45b36f6679d95fbe01b' into sync_cg_clif-2024-08-09
2024-08-09 17:18:46 +00:00
bjorn3
d0d2e60886
Merge commit '659243d85c7489412bd0faa1c068d904a6042941' into sync_cg_clif-2024-07-13
2024-07-13 18:39:03 +00:00
bjorn3
5adaed06a0
Merge commit '49cd5dd454d0115cfbe9e39102a8b3ba4616aa40' into sync_cg_clif-2024-06-30
2024-06-30 11:28:14 +00:00
bjorn3
ed7d97e4c8
Merge commit '3270432f4b0583104c8b9b6f695bf97d6bbf3ac2' into sync_cg_clif-2024-05-13
2024-05-13 13:26:33 +00:00
bjorn3
e243f8d0e3
Merge commit '89f54caacf90e99fc8ba0d60a28bdadea3cfdf1e' into sync_cg_clif-2024-04-11
2024-04-11 10:42:48 +00:00
bjorn3
c5c31447a7
Merge commit '09fae60a86b848a2fc0ad219ecc4e438dc1eef86' 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 '4cf4ffc6ba514f171b3f52d1c731063e4fc45be3' into sync_cg_clif-2024-03-16
2024-03-16 17:23:11 +00:00
bjorn3
5ec45d3d7a
Merge commit '54cbb6e7531f95e086d5c3dd0d5e73bfbe3545ba' into sync_cg_clif-2024-03-08
2024-03-08 20:41:29 +00:00
bjorn3
7325d0de63
Merge commit '26c02eb2904da9a53d2220d4f3069b19a3c81d3d' into sync_cg_clif-2023-12-24
2023-12-24 14:35:19 +00:00
bjorn3
a4be90ed16
Merge commit '3a9bf729322fb5035518f99b9d76a742bf7c124e' into sync_cg_clif-2023-12-19
2023-12-19 12:46:39 +00:00
bjorn3
1988cf4a18
Merge commit '710c67909d034e1c663174a016ca82b95c2d6c12' into sync_cg_clif-2023-11-25
2023-11-25 10:05:52 +00:00
bjorn3
d49fd9f877
Merge commit 'c84d1871dc4456539b7b578830268ab3539915d0' into sync_cg_clif-2023-11-10
2023-11-10 11:30:51 +00:00
Nicholas Nethercote
8eca01f4b6
Remove support for compiler plugins.
...
They've been deprecated for four years.
This commit includes the following changes.
- It eliminates the `rustc_plugin_impl` crate.
- It changes the language used for lints in
`compiler/rustc_driver_impl/src/lib.rs` and
`compiler/rustc_lint/src/context.rs`. External lints are now called
"loaded" lints, rather than "plugins" to avoid confusion with the old
plugins. This only has a tiny effect on the output of `-W help`.
- E0457 and E0498 are no longer used.
- E0463 is narrowed, now only relating to unfound crates, not plugins.
- The `plugin` feature was moved from "active" to "removed".
- It removes the entire plugins chapter from the unstable book.
- It removes quite a few tests, mostly all of those in
`tests/ui-fulldeps/plugin/`.
Closes #29597 .
2023-11-04 08:50:46 +11:00
bjorn3
e472b5573a
Merge commit 'c07d1e2f88cb3b1a0604ae8f18b478c1aeb7a7fa' into sync_cg_clif-2023-10-21
2023-10-21 19:54:51 +00:00
Oli Scherer
8e264ab07a
s/Generator/Coroutine/
2023-10-20 21:10:38 +00:00
bjorn3
5d85a24442
Merge commit '81dc066758ec150b43822d4a0c84aae20fe10f40' into sync_cg_clif-2023-10-09
2023-10-09 08:52:46 +00:00
bjorn3
f2211c5242
Merge commit 'dda103b1e33c4902deca8bccf614991ada781fa6' into sync_cg_clif-2023-09-06
2023-09-06 18:51:03 +00:00
bjorn3
59cabd7032
Merge commit '8f9ac9c22d6594cf059d8e6c71d414cc5ccd7975' into sync_cg_clif-2023-08-09
2023-08-09 18:20:12 +00:00
bjorn3
e8168ce8a3
Merge commit '1eded3619d0e55d57521a259bf27a03906fdfad0' into sync_cg_clif-2023-07-22
2023-07-22 13:32:34 +00:00
bjorn3
81ea0b29ea
Merge commit '8830dccd1d4c74f1f69b0d3bd982a3f1fcde5807' into sync_cg_clif-2023-06-15
2023-06-15 17:56:01 +00:00
bjorn3
8bf550e616
Merge commit 'ef07e8e60f994ec014d049a95591426fb92ebb79' into sync_cg_clif-2023-04-29
2023-04-29 12:00:43 +00:00
bjorn3
7b3bd56ed9
Merge commit 'dec0daa8f6d0a0e1c702f169abb6bf3eee198c67' into sync_cg_clif-2023-03-15
2023-03-15 14:41:48 +00:00
bjorn3
56951e4f2b
Merge commit '7d53619064ab7045c383644cb445052d2a3d46db' into sync_cg_clif-2023-02-09
2023-02-09 12:38:16 +01:00
bjorn3
b67610f98a
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
2023-01-24 18:56:42 +01:00
Albert Larsan
4e47bd0464
Change src/test to tests in source files, fix tidy and tests
2023-01-11 09:32:13 +00:00