diff options
| author | daxpedda <daxpedda@gmail.com> | 2024-07-13 00:10:33 +0200 | 
|---|---|---|
| committer | daxpedda <daxpedda@gmail.com> | 2024-08-04 08:44:23 +0200 | 
| commit | 80b74d397fffc9deaafd2b44552ba3a9107b4d5b (patch) | |
| tree | 62a2706369f5088b13cbb77ef3145f764a843fe8 /tests/ui/target-feature/implicit-features-cli.rs | |
| parent | 90521399b4bfa889916cb62e2394b69f295e22cf (diff) | |
| download | rust-80b74d397fffc9deaafd2b44552ba3a9107b4d5b.tar.gz rust-80b74d397fffc9deaafd2b44552ba3a9107b4d5b.zip  | |
Implement a implicit target feature mechanism
Diffstat (limited to 'tests/ui/target-feature/implicit-features-cli.rs')
| -rw-r--r-- | tests/ui/target-feature/implicit-features-cli.rs | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/target-feature/implicit-features-cli.rs b/tests/ui/target-feature/implicit-features-cli.rs new file mode 100644 index 00000000000..34e7c3d5066 --- /dev/null +++ b/tests/ui/target-feature/implicit-features-cli.rs @@ -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) +}  | 
