Skip to content

Commit fbf53bf

Browse files
committed
Tmp wip
1 parent f553033 commit fbf53bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/macros.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ macro_rules! e {
199199
// cfg completely.
200200
// FIXME(ctest): ctest can't handle `$(,)?` so we use `$(,)*` which isn't quite correct.
201201
cfg_if! {
202-
if #[cfg(feature = "const-extern-fn")] {
202+
if #[cfg(any())] {
203+
// if #[cfg(feature = "const-extern-fn")] {
203204
/// Define an `unsafe` function that is const as long as `const-extern-fn` is enabled.
204205
macro_rules! f {
205206
($(

0 commit comments

Comments
 (0)