Skip to content

Commit 7aebfb1

Browse files
committed
Fix wasm
1 parent 9ccb530 commit 7aebfb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/wasm/src/vm_class.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ pub(crate) fn weak_vm(vm: &VirtualMachine) -> Weak<StoredVirtualMachine> {
102102
STORED_VMS.with_borrow(|vms| Rc::downgrade(vms.get(id).expect("VirtualMachine is not valid")))
103103
}
104104

105+
#[derive(Clone, Copy)]
105106
#[wasm_bindgen(js_name = vmStore)]
106107
pub struct VMStore;
107108

0 commit comments

Comments
 (0)