Skip to content

Commit

Permalink
Tmp wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Nov 26, 2024
1 parent f553033 commit fbf53bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ macro_rules! e {
// cfg completely.
// FIXME(ctest): ctest can't handle `$(,)?` so we use `$(,)*` which isn't quite correct.
cfg_if! {
if #[cfg(feature = "const-extern-fn")] {
if #[cfg(any())] {
// if #[cfg(feature = "const-extern-fn")] {
/// Define an `unsafe` function that is const as long as `const-extern-fn` is enabled.
macro_rules! f {
($(
Expand Down

0 comments on commit fbf53bf

Please sign in to comment.