Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Embedder API gaps for implements/external-id

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

メンテナーはふだん 1 日以内に返信

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

2026年10月19日 から。

  • #14872 @jrandolf による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
api, backend

調査の方向性

Start by tracing Component::get_export, Instance::get_export, component_type().imports(), and ComponentExtern in the embedder API; check the open pull request #14872 first, since it may already cover this work. The issue identifies three related API gaps but does not name tests or implementation files. Done means resolving the export attributes, root type imports, and ComponentExtern lifetime and extensibility concerns.

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

説明

wasm-proposal:component-model-implements

A few gaps in how implements/external-id are exposed through the embedder API:

  • Component::get_export and Instance::get_export return only the ComponentItem, so an export's attributes are only reachable by iterating component_type().exports(). The data is stored in info::Export::Instance but never read.
  • Root-level type imports (e.g. (import "t" (external-id "x") (type (eq $u)))) are missing from component_type().imports(), while root type exports are present.
  • ComponentExtern's lifetime is tied to the &Engine borrow even though its strings borrow from the type (ty.get_import(&engine.clone(), "p") doesn't compile), and the struct isn't #[non_exhaustive], so adding a field (say, a version suffix for canonical names) would be a breaking change.
主要言語
Rust
スター
18.7k
フォーク
1.9k
平均マージ
20時間 33分
マージ済み PR(30日)
377

環境構築

はじめの一歩

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

bytecodealliance/wasmtime のほかの issue

bytecodealliance/wasmtime の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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