Next: Assembler, Previous: Resolver, Up: Toolchain reference [Contents][Index]
The (wasm link)
module provides a means for extending a Wasm
module with the standard library that it needs at runtime. Hoot uses
the linker to add the Scheme runtime to the compiled form of user
code. The linker uses a form of tree-shaking to remove anything that
is not used by the base module.
Return a new Wasm module that is the combination of the Wasm module wasm with the Wasm module stdlib.