Skip to content

Commit

Permalink
better host
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumer committed Jul 8, 2024
1 parent 6da2d3d commit c51b31c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c51b31c

Please sign in to comment.