Skip to content

Commit 28b5e16

Browse files
committed
Update examples to use core_arch
1 parent b0ff676 commit 28b5e16

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

examples/aobench/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ criterion = { version = '^0.2', features=['real_blackbox'] }
3333
default = [ "256bit" ]
3434
256bit = []
3535
sleef-sys = [ "packed_simd/sleef-sys" ]
36-
coresimd = [ "packed_simd/coresimd" ]
36+
core_arch = [ "packed_simd/core_arch" ]
3737

3838
[[bench]]
3939
name = "isec_sphere"

examples/mandelbrot/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ path = "src/lib.rs"
2525
[features]
2626
default = []
2727
sleef-sys = ["packed_simd/sleef-sys"]
28-
coresimd = ["packed_simd/coresimd"]
28+
core_arch = ["packed_simd/core_arch"]

examples/nbody/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ path = "src/main.rs"
1414
[lib]
1515
name = "nbody_lib"
1616
path = "src/lib.rs"
17+
18+
[features]
19+
default = [ ]
20+
sleef-sys = [ "packed_simd/sleef-sys" ]
21+
core_arch = [ "packed_simd/core_arch" ]

examples/options_pricing/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ path = "src/lib.rs"
2323

2424
[features]
2525
default = []
26-
coresimd = [ "packed_simd/coresimd" ]
26+
core_arch = [ "packed_simd/core_arch" ]
2727
sleef-sys = [ "packed_simd/sleef-sys" ]
2828
ispc_libm = [ "ispc" ]

examples/stencil/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ path = "src/lib.rs"
2323

2424
[features]
2525
default = []
26-
coresimd = ["packed_simd/coresimd"]
26+
core_arch = ["packed_simd/core_arch"]
2727
sleef-sys = ["packed_simd/sleef-sys"]

0 commit comments

Comments
 (0)