diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-30 14:33:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-30 14:33:46 +0200 |
| commit | fd2785f67a69c90e3482611a68991daf7d61e0ba (patch) | |
| tree | a5b4531a7b3130f0f92a1d23d6005d96cda61964 /compiler/rustc_codegen_llvm/src | |
| parent | 0245b0ca1eb9ea5da02b948bfe65b459ba8e1beb (diff) | |
| parent | ac2e3180344bdd6092fe2b845df65c4ff4a5aa10 (diff) | |
| download | rust-fd2785f67a69c90e3482611a68991daf7d61e0ba.tar.gz rust-fd2785f67a69c90e3482611a68991daf7d61e0ba.zip | |
Rollup merge of #130895 - RalfJung:asm-tests, r=nnethercote
make type-check-4 asm tests about non-const expressions These tests recently got changed in https://github.com/rust-lang/rust/pull/129759. I asked the PR author to make the tests read from a `static mut` (rather than just making them "pass"), but I now think that was a mistake: previously the tests failed because the const was not a valid const expression, after the PR they failed because the const failed to evaluate. So this PR restores the tests to "fail because the const is not a valid const expression". That can be done in a target-independent way so I unified the x86 and aarch64 tests into one. Cc `@oli-obk` as the original [author](https://github.com/rust-lang/rust/commit/0d88631059742db30c44edadd1c8a2f51c8eb971) of these tests -- not sure if you still remember what they were intended to test.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
