diff options
Diffstat (limited to 'src/script.rs')
| -rw-r--r-- | src/script.rs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/script.rs b/src/script.rs index dd65106..eeb943f 100644 --- a/src/script.rs +++ b/src/script.rs @@ -79,12 +79,13 @@ impl<'a> ScriptManager<'a> { }); } ScriptDeclaration::Wasm { path } => { - let module = files.load_file(path.clone()).unwrap().unwrap_wasm_module(); - let mut store = wasmi::Store::new(&files.wasm_compiler, context); - let instance = self - .linker - .instantiate_and_start(&mut store, &module) - .unwrap(); + todo!("wasm scripts") + // let module = files.load_file(path.clone()).unwrap().unwrap_wasm_module(); + // let mut store = wasmi::Store::new(&files.wasm_compiler, context); + // let instance = self + // .linker + // .instantiate_and_start(&mut store, &module) + // .unwrap(); } } self.active_scripts.push(script_id); |
