Skip to content

Commit 89a32a4

Browse files
committed
Add ui test of LLVM print-from-C++ changes
1 parent 3a4d73f commit 89a32a4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/ui/codegen/target-cpus.rs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// needs-llvm-components: webassembly
2+
// min-llvm-version: 17
3+
// compile-flags: --print=target-cpus --target=wasm32-unknown-unknown
4+
// check-pass

tests/ui/codegen/target-cpus.stdout

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Available CPUs for this target:
2+
bleeding-edge
3+
generic - This is the default target CPU for the current build target (currently wasm32-unknown-unknown).
4+
mvp

0 commit comments

Comments
 (0)