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

Implementing multiple worlds

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

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

まだ誰も着手していません。

評価

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

調査の方向性

まず register_host_functions と、issue に示されている export WIT_WORLD 設定を追跡し、その後、選択した world に対して guest bindings がどのように生成されるかを調べます。world を結合せずに wasi:cli と wasi:http の両方を登録する方法を特定します。アプリケーションが個別の登録と生成された bindings を通じて両方の world をサポートできれば完了です。

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

説明

lifecycle/confirmed

It doesn't seem possible today to register multiple worlds. For instance, if I wanted my app to support both wasi:cli and wasi:http.

I thought it might be possible to create two different modules and then register them like:

    let rt = cli::bindings::register_host_functions(&mut sb, state);
    let rt = http::bindings::register_host_functions(&mut rt, state);

This doesn't work due to export WIT_WORLD which must be set to one and will only generate guest bindings for one of them.

The work around for now is combine the worlds into one world.

主要言語
Rust
スター
729
フォーク
39
平均マージ
16時間 18分
マージ済み PR(30日)
8

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

hyperlight-dev/hyperlight-wasm のほかの issue

hyperlight-dev/hyperlight-wasm の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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