diff options
| author | miguel raz <miguelraz@gmail.com> | 2021-05-25 20:07:20 -0500 |
|---|---|---|
| committer | miguel raz <miguelraz@gmail.com> | 2021-05-25 20:07:20 -0500 |
| commit | 2591c59ba75f812329c44078b31b3ca140d01055 (patch) | |
| tree | 5c70b50f53c011f13885411677fb52b91d671bc9 | |
| parent | e52d51cd45230068a98e5e809dabf1671bc6d630 (diff) | |
| download | rust-2591c59ba75f812329c44078b31b3ca140d01055.tar.gz rust-2591c59ba75f812329c44078b31b3ca140d01055.zip | |
fix imports
| -rw-r--r-- | crates/core_simd/examples/nbody.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/core_simd/examples/nbody.rs b/crates/core_simd/examples/nbody.rs index a474bbe3925..4ca371f4456 100644 --- a/crates/core_simd/examples/nbody.rs +++ b/crates/core_simd/examples/nbody.rs @@ -1,4 +1,5 @@ -use stdsimd::simd::*; +#![feature(platform_intrinsics, repr_simd)] +use core_simd::*; use std::f64::consts::PI; const SOLAR_MASS: f64 = 4.0 * PI * PI; |
