Stream: git-wasmtime

Topic: wasmtime / issue #9019 Make define_unknown_imports_as_tra...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 26 2024 at 13:20):

StaticallyTypedAnxiety opened issue #9019:

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

view this post on Zulip Wasmtime GitHub notifications bot (Jul 26 2024 at 15:56):

alexcrichton closed issue #9019:

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


Last updated: Oct 23 2024 at 20:03 UTC