Skip to content

Commit 9aa4be0

Browse files
committed
Normalize target-cpus.rs stdout test for LLVM changes
1 parent 0e98766 commit 9aa4be0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: tests/ui/codegen/target-cpus.rs

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
//@ needs-llvm-components: webassembly
22
//@ compile-flags: --print=target-cpus --target=wasm32-unknown-unknown
33
//@ check-pass
4+
5+
// LLVM at HEAD has added support for the `lime1` CPU. Remove it from the
6+
// output so that the stdout with LLVM-at-HEAD matches the output of the LLVM
7+
// versions currently used by default.
8+
// FIXME(#133919): Once Rust upgrades to LLVM 20, remove this.
9+
//@ normalize-stdout-test: "(?m)^ *lime1\n" -> ""

0 commit comments

Comments
 (0)