Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Oct 6, 2023
1 parent dfa97ae commit 69f51f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/wasm/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
const wasm = Switch.readFileSync(new URL('simple.wasm', Switch.entrypoint));

const mod = new WebAssembly.Module(wasm);
console.log(WebAssembly.Module.exports(mod));
console.log(WebAssembly.Module.imports(mod));
console.log({
imports: WebAssembly.Module.imports(mod),
exports: WebAssembly.Module.exports(mod),
});

const importObject = {
imports: {
Expand Down

0 comments on commit 69f51f5

Please sign in to comment.