add feature flag

couldn't run the `hellosimd` without it 🤷🏾
This commit is contained in:
Miguel Raz Guzmán Macedo 2022-09-30 20:25:34 -05:00 committed by Jubilee
parent d5cd4a8112
commit 2c5ebfb6a2

View File

@ -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);