mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
Add #[wasm_bindgen(assert_no_shim)]
on imported functions for testing
This should not be used outside of wasm-bindgen's test suite.
This commit is contained in:
1
crates/shared/src/lib.rs
Normal file → Executable file
1
crates/shared/src/lib.rs
Normal file → Executable file
@ -44,6 +44,7 @@ macro_rules! shared_api {
|
||||
shim: &'a str,
|
||||
catch: bool,
|
||||
variadic: bool,
|
||||
assert_no_shim: bool,
|
||||
method: Option<MethodData<'a>>,
|
||||
structural: bool,
|
||||
function: Function<'a>,
|
||||
|
Reference in New Issue
Block a user