1
Fork 0

Normalize target-cpus.rs stdout test for LLVM changes

This commit is contained in:
Tim Neumann 2024-12-05 12:38:15 +01:00
parent 0e98766a54
commit 9aa4be0499

View file

@ -1,3 +1,9 @@
//@ needs-llvm-components: webassembly //@ needs-llvm-components: webassembly
//@ compile-flags: --print=target-cpus --target=wasm32-unknown-unknown //@ compile-flags: --print=target-cpus --target=wasm32-unknown-unknown
//@ check-pass //@ 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" -> ""