Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Update .wit files to allow referencing between host and guest interfaces

未關閉
#271 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
ruby, typescript, wasm
領域
api, compilers

研究方向

從 packages/npm-packages/ruby-wasm-wasi/src/index.ts 中提到的 JsValueTransport 實作開始,然後找到目前的 rb-abi-host 和 rb-abi-guest .wit 檔案。將它們的定義與 WIT worlds 以及 import/export 支援進行比較。當 host 和 guest 介面無需 JsValueTransport workaround 即可相互參照時,即視為完成。

由索引模型根據 Issue 內容生成。

描述

Currently, we use JsValueTransport to facilitate moving values between the rb-abi-host and rb-abi-guest. Since the introduction of this workaround in #18 (May 2022), the WIT format implemented features such as worlds and import/exports. If we update our .wit files to use these new features I think JsValueTransport would no longer needed because the host and guest .wit can reference each other.

主要語言
Ruby
星號
875
分支
68
平均合併
9 天 5 小時
30 天內合併 PR
1

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ruby/ruby.wasm 的其他 Issue

查看 ruby/ruby.wasm 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。