Skip to content

WasmVM: WASI sysroot glob() pattern matching not functional #36

@NathanFlurry

Description

@NathanFlurry

Summary

glob() and globfree() from the WASI sysroot (musl-based) do not work correctly. This is likely because glob's internal directory traversal doesn't work properly with the WASI filesystem APIs.

Affected os-test cases

  • basic/glob/glob
  • basic/glob/globfree

Expected behavior

glob() should enumerate filesystem entries matching a pattern, and globfree() should release the results.

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