Skip to content

Track WASI Preview 2 implementation across component-model foundations and WASI packages #55

Description

@medz

Summary

Track WASI Preview 2 implementation in wasd using the same execution-ordered issue roadmap style as Preview1, but with component-model foundations first and package capabilities layered on top.

Current repo state:

  • README.md currently marks Preview 2 as not implemented.
  • lib/src/wasm/backend/native/interpreter/module.dart still notes that component-model binary format support is not implemented yet.
  • Preview 2 cannot reuse node:wasi; node support must be implemented through JS interop host adapters for each package capability.

Execution rules:

  • Each capability issue is expected to bring its own focused tests.
  • The checklist below is already sorted by dependency order; reading it top-to-bottom is the intended implementation path.
  • The Blocked by notes explain why a later item is placed where it is; if you follow the checklist order, you should not need extra dependency triage.

References

Execution Order

Phase 1: Component Foundations

Phase 2: Base WASI Packages

Phase 3: Verification and Documentation

Exit Criteria

Close this tracker only when one of these is true:

  1. The component-model foundations and the selected Preview2 packages are implemented with tested behavior across the intended runtimes.
  2. Any remaining Preview2 exclusions are explicitly documented, and package docs stop implying broader support than the runtime actually provides.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions