Skip to content

Empty args array in WASI is problematic #40196

Open
@jasnell

Description

@jasnell

/cc @cjihrig

In the new WASI(...) constructor, if the args option is not given, then there will be no args[0] available, which causes some problems with some libc-wasm compiled libraries (e.g. zstd). The question is whether we can reasonably default an args[0] when args is not provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wasiIssues and PRs related to the WebAssembly System Interface.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions