From c51b31cd1c8162b5d972438a566d6dfd9db2ae7a Mon Sep 17 00:00:00 2001 From: David Konsumer Date: Sun, 7 Jul 2024 19:52:31 -0700 Subject: [PATCH] better host --- index.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index d04a3ef..5c0104d 100644 --- a/index.html +++ b/index.html @@ -14,12 +14,11 @@ function getImports(host) { const out = { wasi_snapshot_preview1: { - args_get(){}, - args_sizes_get() { - return 0 - }, - proc_exit(){} + args_get() {}, + args_sizes_get() {}, + proc_exit() {} }, + env: { memory: host.wasmMemory }