| 8e6ad72a | 05-Jan-2022 |
Nick Fitzgerald <[email protected]> |
Dummy functions should trap, not return dummy values
If an unknown function import is called during Wasm initialization, we need to trap, not return a placeholder value.
This was the result of some
Dummy functions should trap, not return dummy values
If an unknown function import is called during Wasm initialization, we need to trap, not return a placeholder value.
This was the result of some bad copy-pasting from other code that produces dummy imports for an arbitrary Wasm module.
Fixes #39
show more ...
|