From e169964652083352c045d5363554511682ba7a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Sat, 13 Aug 2022 00:00:00 +0000 Subject: [PATCH] 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. --- crates/std_detect/src/detect/macros.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/std_detect/src/detect/macros.rs b/crates/std_detect/src/detect/macros.rs index 213e63ec55..a467f9db60 100644 --- a/crates/std_detect/src/detect/macros.rs +++ b/crates/std_detect/src/detect/macros.rs @@ -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)