-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize target-cpus.rs stdout test for LLVM changes
- Loading branch information
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Once Rust upgrades to LLVM 20, remove this. | ||
//@ normalize-stdout-test: "(?m)^ *lime1\n" -> "" |