diff --git a/crates/backend/src/codegen.rs b/crates/backend/src/codegen.rs index 964bd8045..8ea9e1c6e 100644 --- a/crates/backend/src/codegen.rs +++ b/crates/backend/src/codegen.rs @@ -170,7 +170,7 @@ impl ToTokens for ast::Struct { <::wasm_bindgen::JsValue as ::wasm_bindgen::convert::WasmBoundary> ::from_abi( #new_fn(ptr), - unsafe { &mut ::wasm_bindgen::convert::GlobalStack::new() }, + &mut ::wasm_bindgen::convert::GlobalStack::new(), ) } }