Add ui test of LLVM print-from-C++ changes
This commit is contained in:
parent
dcfe94a009
commit
7ee059b8ac
2 changed files with 8 additions and 0 deletions
4
tests/ui/codegen/target-cpus.rs
Normal file
4
tests/ui/codegen/target-cpus.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
// needs-llvm-components: webassembly
|
||||
// min-llvm-version: 17
|
||||
// compile-flags: --print=target-cpus --target=wasm32-unknown-unknown
|
||||
// check-pass
|
4
tests/ui/codegen/target-cpus.stdout
Normal file
4
tests/ui/codegen/target-cpus.stdout
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue