about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-04-06 12:33:22 +1000
committerZalathar <Zalathar@users.noreply.github.com>2025-04-06 12:38:20 +1000
commitf6afb35c6170ad3cadc6e6d7d41dc4dc3bd46556 (patch)
tree79dbafc9b78b826a6de77a2ddee79dffbe54e71e /compiler/rustc_codegen_llvm/src
parent5e17a2a91dd7dbefd8b4a1087c2e42257457deeb (diff)
downloadrust-f6afb35c6170ad3cadc6e6d7d41dc4dc3bd46556.tar.gz
rust-f6afb35c6170ad3cadc6e6d7d41dc4dc3bd46556.zip
Prevent a test from seeing forbidden numbers in the rustc version
The final CHECK-NOT directive in this test was able to see past the end of the
enclosing function, and find the substring 753 or 754 in the git hash in the
rustc version number, causing false failures in CI.

Adding an explicit check for `ret` prevents the CHECK-NOT directive from seeing
past the end of the function.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions