Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Commit

Permalink
imports disclamer
Browse files Browse the repository at this point in the history
  • Loading branch information
ballercat committed Jun 7, 2017
1 parent b50f9d9 commit 51e17cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ const customCounter = new Counter({
}
}
```

*A note about default deps(importsObject)*

Default `importsObject` is meant to be used for a very basic wasm module. Most likely it will not suffice for something not dead simple compiled with emscripten. This is intentional. Supply your own
imports to match the requirements of your wasm module(s). Some options are compiling your source code into S-syntax(`.wast`) examining that output, checking the imports. Compile the s-syntax file with
`asm2wasm` into the final wasm module.

0 comments on commit 51e17cc

Please sign in to comment.