Skip to content

Commit e169964

Browse files
tmiaskoAmanieu
authored andcommitted
Allow internal use of stdsimd from detect_feature
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.
1 parent e9bf8ca commit e169964

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/std_detect/src/detect/macros.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#[macro_export]
2+
#[allow_internal_unstable(stdsimd)]
23
macro_rules! detect_feature {
34
($feature:tt, $feature_lit:tt) => {
45
$crate::detect_feature!($feature, $feature_lit : $feature_lit)

0 commit comments

Comments
 (0)