mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 12:31:22 +00:00
Assert that a bunch more function signatures don't require JS glue
This commit is contained in:
@ -23,4 +23,4 @@ wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.48' }
|
||||
wasm-bindgen-shared = { path = "../shared", version = '=0.2.48' }
|
||||
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.48' }
|
||||
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.48' }
|
||||
wasm-webidl-bindings = "0.1.0"
|
||||
wasm-webidl-bindings = "0.1.1"
|
||||
|
@ -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