diff options
| author | Miguel Raz Guzmán Macedo <miguelraz@ciencias.unam.mx> | 2022-09-30 20:25:34 -0500 |
|---|---|---|
| committer | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2022-10-09 00:08:15 -0700 |
| commit | 2c5ebfb6a26d384bc21db6796095890c1f13f19c (patch) | |
| tree | 5c80eed95b5b0b1f3de73476d49159dbb0d16793 | |
| parent | d5cd4a8112d958bd3a252327e0d069a6363249bd (diff) | |
| download | rust-2c5ebfb6a26d384bc21db6796095890c1f13f19c.tar.gz rust-2c5ebfb6a26d384bc21db6796095890c1f13f19c.zip | |
add feature flag
couldn't run the `hellosimd` without it 🤷🏾
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md index db0af2da606..791051f69ae 100644 --- a/README.md +++ b/README.md @@ -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); |
