add feature flag
couldn't run the `hellosimd` without it 🤷🏾
This commit is contained in:
parent
d5cd4a8112
commit
2c5ebfb6a2
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ core_simd = { git = "https://github.com/rust-lang/portable-simd" }
|
|||
|
||||
and finally write this in `src/main.rs`:
|
||||
```rust
|
||||
#![feature(portable_simd)]
|
||||
use core_simd::*;
|
||||
fn main() {
|
||||
let a = f32x4::splat(10.0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue