1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

chore(std/wasi): enable and fix lint errors in snapshot_preview1 (#7360)

This commit is contained in:
Casper Beyer 2020-09-29 17:41:22 +08:00 committed by GitHub
parent b014a98534
commit 71a8b1fe27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 690 additions and 628 deletions

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,7 @@ const context = new Context({
});
const instance = new WebAssembly.Instance(module, {
wasi_snapshot_preview1: context.exports,
"wasi_snapshot_preview1": context.exports,
});
const memory = instance.exports.memory as WebAssembly.Memory;