Skip to content

Commit

Permalink
Workaround for nightly regression
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhenrymantilla committed Jun 29, 2022
1 parent c76d440 commit 25ac811
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ffi_export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,12 @@ macro_rules! __ffi_export__ {
ret
}}

$crate::paste::item! {
/// Define the N-API wrapping function.
#[cfg(any(
$(
all(),
__hack = $node_js_arg_count,
[< __hack_ $node_js_arg_count >] = "",
)?
))]
const _: () = {
Expand Down Expand Up @@ -261,6 +262,7 @@ macro_rules! __ffi_export__ {
}
}
};
}
};

#[cfg(not(target_arch = "wasm32"))]
Expand Down

0 comments on commit 25ac811

Please sign in to comment.