Skip to content

old CLI --dir arg clobbers new CLI --dir argument #7415

Description

@ydnar

Thanks for releasing the compatibility shim in v14.0.3! I ran into an odd compatibility issue:

If wasmtime is run without WASMTIME_NEW_CLI=1, then --dir is always interpreted as a single value, and not HOST::GUEST:

wasmtime run --dir ./::./ ...

Fails with:

Error: failed to open directory './::./'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions