about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-12-27 20:44:12 +0800
committerGitHub <noreply@github.com>2024-12-27 20:44:12 +0800
commitbc3e8917e3723928180c4a11faa19ccb29043bf5 (patch)
tree9170b4567a83bec122df8512712f7b02b25a2667 /compiler/rustc_codegen_llvm/src
parent7bbbfc650dd9ab474a1d79dcf127e91022e0422e (diff)
parent835fbcbcab82ce728a7233de6c32a2d206e3336c (diff)
downloadrust-bc3e8917e3723928180c4a11faa19ccb29043bf5.tar.gz
rust-bc3e8917e3723928180c4a11faa19ccb29043bf5.zip
Rollup merge of #134759 - Zalathar:normalize, r=jieyouxu
compiletest: Remove the `-test` suffix from normalize directives

This suffix was an artifact of using the same condition-checking engine as the `ignore-*` and `only-*` directives, but in practice we have only 2 tests that legitimately use a condition, and both of them only care about 32-bit vs 64-bit.

This PR detaches `normalize-*` directives from the condition checker, and replaces it with a much simpler system of four explicit `NormalizeKind` values. It then takes advantage of that simplicity to get rid of the `-test` suffix.

---

Addresses one of the points of #126372.

The new name-checking code is a bit quaint, but I think it's a definite improvement over the status quo.

---

The corresponding dev-guide update is https://github.com/rust-lang/rustc-dev-guide/pull/2172.

r? jieyouxu
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions