mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-14 05:21:24 +00:00
Assert that a bunch more function signatures don't require JS glue
This commit is contained in:
@ -2001,7 +2001,11 @@ impl<'a> Context<'a> {
|
||||
if assert_no_shim {
|
||||
panic!(
|
||||
"imported function was annotated with `#[wasm_bindgen(assert_no_shim)]` \
|
||||
but we need to generate a JS shim for it"
|
||||
but we need to generate a JS shim for it:\n\n\
|
||||
\timport = {:?}\n\n\
|
||||
\tbinding = {:?}\n\n\
|
||||
\twebidl = {:?}",
|
||||
import, binding, webidl,
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user