diff options
| author | Mica White <botahamec@outlook.com> | 2026-10-26 10:52:04 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-10-26 10:58:46 -0400 |
| commit | ec40f6e3acc7874b82709ab81b254c741529fdff (patch) | |
| tree | e3dfdc315bd0c6f1d2efcf442c2cfb3317d6810f /src/process.rs | |
| parent | e3c5839159903658a667f789963f20a31567b25c (diff) | |
Diffstat (limited to 'src/process.rs')
| -rw-r--r-- | src/process.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/process.rs b/src/process.rs deleted file mode 100644 index ed8c542..0000000 --- a/src/process.rs +++ /dev/null @@ -1,14 +0,0 @@ -use crate::ScriptContext; - -mod tortuise { - #[link(wasm_import_module = "tortuise")] - unsafe extern "C" { - pub safe fn exit(context: u64) -> !; - } -} - -impl ScriptContext { - pub fn exit(&self) -> ! { - tortuise::exit(self.0) - } -} |
