diff options
Diffstat (limited to 'library/stdarch/examples')
| -rw-r--r-- | library/stdarch/examples/connect5.rs | 2 | ||||
| -rw-r--r-- | library/stdarch/examples/hex.rs | 2 | ||||
| -rw-r--r-- | library/stdarch/examples/wasm.rs | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/library/stdarch/examples/connect5.rs b/library/stdarch/examples/connect5.rs index 805108c24ce..6298255421a 100644 --- a/library/stdarch/examples/connect5.rs +++ b/library/stdarch/examples/connect5.rs @@ -28,7 +28,7 @@ //! You should see a game self-playing. In the end of the game, it shows the average time for //! each move. -#![feature(stdsimd, avx512_target_feature)] +#![feature(avx512_target_feature, stdarch_x86_avx512)] #![feature(stmt_expr_attributes)] use rand::seq::SliceRandom; diff --git a/library/stdarch/examples/hex.rs b/library/stdarch/examples/hex.rs index a961793a045..490556e8bf7 100644 --- a/library/stdarch/examples/hex.rs +++ b/library/stdarch/examples/hex.rs @@ -12,7 +12,7 @@ //! //! and you should see `746573740a` get printed out. -#![feature(stdsimd, wasm_target_feature)] +#![feature(wasm_target_feature)] #![cfg_attr(test, feature(test))] #![allow( clippy::unwrap_used, diff --git a/library/stdarch/examples/wasm.rs b/library/stdarch/examples/wasm.rs index 6b92ae9b87d..8a95ed54e14 100644 --- a/library/stdarch/examples/wasm.rs +++ b/library/stdarch/examples/wasm.rs @@ -1,6 +1,5 @@ //! A simple slab allocator for pages in wasm -#![feature(stdsimd)] #![cfg(target_arch = "wasm32")] use std::ptr; |
