wasm32-wasip3 target uses WASI preview 2 bindings

オープン
#258 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@Snowiiii がすでに取り組んでいます。

2026年11月27日 から。

  • #260 @Snowiiii による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, rust, wasm
領域
compilers

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
284
フォーク
56
平均マージ
2日 4時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bytecodealliance/componentize-py のほかの issue

bytecodealliance/componentize-py の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。