You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for `-Wunknown-imports-trap` to components
This was implemented in #8672 and is an easy addition to the CLI.
Closes#9019
* Fix non-component CLI build
Thanks for filing a feature request! Please fill out the TODOs below.
Feature
Add define_unknown_imports_as_traps in the wasmtime CLI as it is available in the component Linker https://docs.rs/wasmtime/latest/wasmtime/component/struct.Linker.html#method.define_unknown_imports_as_traps
Benefit
Can be used to specify behavior when setting up WASI test runners
Implementation
Add Component Method here: https://github.com/bytecodealliance/wasmtime/blob/main/src/commands/run.rs#L386
The text was updated successfully, but these errors were encountered: