Skip to content

Commit

Permalink
Add ui test of LLVM print-from-C++ changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 14, 2023
1 parent 3a4d73f commit 89a32a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/ui/codegen/target-cpus.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// needs-llvm-components: webassembly
// min-llvm-version: 17
// compile-flags: --print=target-cpus --target=wasm32-unknown-unknown
// check-pass
4 changes: 4 additions & 0 deletions tests/ui/codegen/target-cpus.stdout
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Available CPUs for this target:
bleeding-edge
generic - This is the default target CPU for the current build target (currently wasm32-unknown-unknown).
mvp

0 comments on commit 89a32a4

Please sign in to comment.