Skip to content

Make define_unknown_imports_as_traps available in CLI #9019

@StaticallyTypedAnxiety

Description

@StaticallyTypedAnxiety

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions