Files
wazero/examples/replace-import
Crypt Keeper 03bfa31928 Makes all examples and docs use Runtime.Close (#537)
This removes tedium in our examples and docs by using `Runtime.Close`
instead of tracking everything. Internal tests still track too much, but
anyway at least this stops suggesting others should do it.

This also changes our examples to use log.PanicXX so that the line
number goes into the console output.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
2022-05-10 12:08:25 +08:00
..
2022-04-24 08:52:12 +08:00

Replace import example

This example shows how to override a module name hard-coded in a WebAssembly module. This is similar to what some tools call "linking".