about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMiguel Raz Guzmán Macedo <miguelraz@ciencias.unam.mx>2022-09-30 20:25:34 -0500
committerJubilee <46493976+workingjubilee@users.noreply.github.com>2022-10-09 00:08:15 -0700
commit2c5ebfb6a26d384bc21db6796095890c1f13f19c (patch)
tree5c80eed95b5b0b1f3de73476d49159dbb0d16793
parentd5cd4a8112d958bd3a252327e0d069a6363249bd (diff)
downloadrust-2c5ebfb6a26d384bc21db6796095890c1f13f19c.tar.gz
rust-2c5ebfb6a26d384bc21db6796095890c1f13f19c.zip
add feature flag
couldn't run the `hellosimd` without it 🤷🏾
-rw-r--r--README.md1
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);