about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim Neumann <timnn@google.com>2024-12-05 12:38:15 +0100
committerTim Neumann <timnn@google.com>2024-12-05 15:37:56 +0100
commit9aa4be0499ee76d19114f3489fd10dd7de3b772b (patch)
treea2f2b7f5845953848c1b335fd0089e1c7f5ad7d9
parent0e98766a5478abd9a279777e55e3d3e06e1761c0 (diff)
downloadrust-9aa4be0499ee76d19114f3489fd10dd7de3b772b.tar.gz
rust-9aa4be0499ee76d19114f3489fd10dd7de3b772b.zip
Normalize target-cpus.rs stdout test for LLVM changes
-rw-r--r--tests/ui/codegen/target-cpus.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/codegen/target-cpus.rs b/tests/ui/codegen/target-cpus.rs
index 2d46e00f803..363915c6419 100644
--- a/tests/ui/codegen/target-cpus.rs
+++ b/tests/ui/codegen/target-cpus.rs
@@ -1,3 +1,9 @@
 //@ needs-llvm-components: webassembly
 //@ compile-flags: --print=target-cpus --target=wasm32-unknown-unknown
 //@ check-pass
+
+// LLVM at HEAD has added support for the `lime1` CPU. Remove it from the
+// output so that the stdout with LLVM-at-HEAD matches the output of the LLVM
+// versions currently used by default.
+// FIXME(#133919): Once Rust upgrades to LLVM 20, remove this.
+//@ normalize-stdout-test: "(?m)^ *lime1\n" -> ""