Skip to content

WasmVM: WASI sysroot wide character streams incomplete (open_wmemstream, swprintf) #39

@NathanFlurry

Description

@NathanFlurry

Summary

Wide character stream functions open_wmemstream() and swprintf() do not work correctly in the WASI sysroot. These functions depend on wide character I/O support which may be incomplete in the musl-based WASI libc.

Affected os-test cases

  • basic/wchar/open_wmemstream
  • basic/wchar/swprintf

Expected behavior

Wide character stream operations should produce correct output matching POSIX semantics.

Context

Discovered via os-test POSIX conformance suite. Tracked in posix-exclusions.json as fail / patched-sysroot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions