We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f553033 commit fbf53bfCopy full SHA for fbf53bf
src/macros.rs
@@ -199,7 +199,8 @@ macro_rules! e {
199
// cfg completely.
200
// FIXME(ctest): ctest can't handle `$(,)?` so we use `$(,)*` which isn't quite correct.
201
cfg_if! {
202
- if #[cfg(feature = "const-extern-fn")] {
+ if #[cfg(any())] {
203
+ // if #[cfg(feature = "const-extern-fn")] {
204
/// Define an `unsafe` function that is const as long as `const-extern-fn` is enabled.
205
macro_rules! f {
206
($(
0 commit comments