wasm32-wasip3 target uses WASI preview 2 bindings

Aperta
#258 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@Snowiiii ci sta già lavorando.

Dal 27/11/2026.

  • #260 di @Snowiiii — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, rust, wasm
Ambito
compilers

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
284
Fork
56
Merge medio
2g 4h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bytecodealliance/componentize-py

Tutte le issue di bytecodealliance/componentize-py

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.