wasm32-wasip3 target uses WASI preview 2 bindings

Offen
#258 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

@Snowiiii arbeitet bereits daran.

Seit 27.11.2026.

  • #260 von @Snowiiii — offen

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python, rust, wasm
Bereich
compilers

Rechercherichtung

The payload names no specific files, so start by searching the repository for the wasip3 target and for references to the wasi:io/poll interface. Reproduce by building a component for wasm32-wasip3 and checking its imports against a preview 3 linker. Done means the component no longer imports wasi:io/[email protected] and runs against preview 3 bindings. Expect a design discussion about which preview 3 APIs to use.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

It's nice to see support for wasm32-wasip3!

Unfortunately, the implementation expects WASI preview 2 bindings. For example, it makes use use of wasi:io, which has been removed in preview 3.

I get this runtime error with my component (I create a wasmtime environment myself with P3 bindings):

component imports instance `wasi:io/[email protected]`, but a matching implementation was not found in the linker

I think proper support for preview 3 should involve moving to the new APIs.

Vorherrschende Sprache
Rust
Sterne
284
Forks
56
Ø Merge
2 T. 4 Std.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus bytecodealliance/componentize-py

Alle Issues in bytecodealliance/componentize-py

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.