rust/tests/rustdoc-ui/wasm-safe.rs

6 lines
111 B
Rust

//@ check-pass
#[cfg(any(target_arch = "wasm32", doc))]
#[target_feature(enable = "simd128")]
pub fn foo() {}