diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-04-06 12:33:22 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-04-06 12:38:20 +1000 |
| commit | f6afb35c6170ad3cadc6e6d7d41dc4dc3bd46556 (patch) | |
| tree | 79dbafc9b78b826a6de77a2ddee79dffbe54e71e /compiler/rustc_codegen_llvm/src | |
| parent | 5e17a2a91dd7dbefd8b4a1087c2e42257457deeb (diff) | |
| download | rust-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
