Skip to content

Commit

Permalink
Normalize target-cpus.rs stdout test for LLVM changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimNN committed Dec 5, 2024
1 parent 0e98766 commit 9aa4be0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/ui/codegen/target-cpus.rs
Original file line number Diff line number Diff line change
@@ -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" -> ""

0 comments on commit 9aa4be0

Please sign in to comment.