You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the plugin cannot properly bundle inlinejs, is there plan to support that?
Add below code to example/my-crate/src/lib.rs, then the build will fail
#[wasm_bindgen(inline_js = "export function alert2(msg) { alert(msg) }")]extern"C"{fnalert2(s:&str);}#[wasm_bindgen]pubfngreet2(name:&str){alert2(&format!("Hello from js via rs,{}!", name));}
The text was updated successfully, but these errors were encountered:
It looks like the plugin cannot properly bundle inlinejs, is there plan to support that?
Add below code to example/my-crate/src/lib.rs, then the build will fail
The text was updated successfully, but these errors were encountered: