Skip to content

Commit 2c5ebfb

Browse files
miguelrazworkingjubilee
authored andcommitted
add feature flag
couldn't run the `hellosimd` without it 🤷🏾
1 parent d5cd4a8 commit 2c5ebfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ core_simd = { git = "https://github.com/rust-lang/portable-simd" }
3636

3737
and finally write this in `src/main.rs`:
3838
```rust
39+
#![feature(portable_simd)]
3940
use core_simd::*;
4041
fn main() {
4142
let a = f32x4::splat(10.0);

0 commit comments

Comments
 (0)