From 4cebd243fe46967319865bf055f415cab6155fb5 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Tue, 26 Nov 2024 15:44:03 -0500 Subject: [PATCH] wip --- src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macros.rs b/src/macros.rs index 1c0fbf9b3675..edc391e079be 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -199,7 +199,7 @@ macro_rules! e { // cfg completely. // FIXME(ctest): ctest can't handle `$(,)?` so we use `$(,)*` which isn't quite correct. cfg_if! { - if #[cfg(any())] { + if #[cfg(all())] { // if #[cfg(feature = "const-extern-fn")] { /// Define an `unsafe` function that is const as long as `const-extern-fn` is enabled. macro_rules! f {