Skip to content

Commit

Permalink
Fixup some stability annotations and feature directives
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jul 15, 2020
1 parent e04182d commit 011c9df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/core_arch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
decl_macro
)]
#![cfg_attr(test, feature(test, abi_vectorcall, untagged_unions))]
#![cfg_attr(all(test, target_arch = "wasm32"), feature(wasm_simd))]
#![deny(clippy::missing_inline_in_public_items)]
#![allow(
clippy::inline_always,
Expand Down
3 changes: 2 additions & 1 deletion crates/core_arch/tests/xcrate-macros.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![feature(stdsimd, wasm_simd)]
#![feature(stdsimd)]
#![cfg_attr(target_arch = "wasm32", feature(wasm_simd))]

#[test]
#[cfg(target_arch = "wasm32")]
Expand Down
1 change: 1 addition & 0 deletions examples/hex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#![feature(stdsimd, wasm_target_feature)]
#![cfg_attr(test, feature(test))]
#![cfg_attr(target_arch = "wasm32", feature(wasm_simd))]
#![allow(
clippy::result_unwrap_used,
clippy::print_stdout,
Expand Down

0 comments on commit 011c9df

Please sign in to comment.