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: Nov 22 2024 at 16:03 UTC