Skip to content

Commit

Permalink
Allow internal use of stdsimd from detect_feature
Browse files Browse the repository at this point in the history
This allows using feature detection macros, without placing a
requirement of enabled stdsimd feature gate from end users.

A follow-up to changes from #1311, which introduced the new macro.
  • Loading branch information
tmiasko authored and Amanieu committed Aug 22, 2022
1 parent e9bf8ca commit e169964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/std_detect/src/detect/macros.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#[macro_export]
#[allow_internal_unstable(stdsimd)]
macro_rules! detect_feature {
($feature:tt, $feature_lit:tt) => {
$crate::detect_feature!($feature, $feature_lit : $feature_lit)
Expand Down

0 comments on commit e169964

Please sign in to comment.