Implement a implicit target feature mechanism
This commit is contained in:
parent
90521399b4
commit
80b74d397f
6 changed files with 55 additions and 1 deletions
9
tests/ui/target-feature/implicit-features-cli.rs
Normal file
9
tests/ui/target-feature/implicit-features-cli.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
//@ only-wasm32-wasip1
|
||||
//@ compile-flags: -Ctarget-feature=+relaxed-simd --crate-type=lib
|
||||
//@ build-pass
|
||||
|
||||
use std::arch::wasm32::*;
|
||||
|
||||
pub fn test(a: v128, b: v128, m: v128) -> v128 {
|
||||
i64x2_relaxed_laneselect(a, b, m)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue