diff options
| author | Mica White <botahamec@outlook.com> | 2026-07-03 11:28:15 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-07-03 11:28:15 -0400 |
| commit | bb7525206da1782fd9af49621aa52d87bd227838 (patch) | |
| tree | e2eeb352b964e35e9a902f31c67771a0f1bb9e02 /src/script.rs | |
| parent | 3eb02cbe5b106cd332f25d658430f7e0ae320745 (diff) | |
Snake example
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); |
