Improve ergonomics of Rust examples, re-enable use of published packages
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust, wasm
調査の方向性
まず、PR #254 で差し戻された機能と Rust チュートリアルのコードを確認します。文書化されているパッケージ設定と、cargo-component および wasm-pkg-tools の現在の動作を比較し、提案されている 3 つのアプローチのうちどれが実行可能かを判断します。完了の条件は、例で現在発生している設定または複数の world の解決に関する失敗なしに、公開された WIT パッケージを使用できることです。
索引モデルが issue の本文から書いたものです。
説明
This issue arguably shouldn't go here, but currently UX issues in upstream tooling is making the Rust
The goal is to revert this reverted functionality -- we want to be able to use published WIT packages but there are a few issues stopping us:
cargo-componentdoes not configure/patch wherewkglooks for deps (the target kind) when configured inCargo.toml(i.e. we should be able to specify thatdocsis a known package w/ a known registry)cargo-componentcurrently does not properly resolve targets w/ multiple worlds even ifwkgis configured (via it's global config file)wkgshould be able to use local fconfig
There are at least a few ways to solve this issue:
- Update
cargo-componentto perform the patching of registries for namespaces before usingwasm-pkg-toolsfunctionality - Update
wkgto prefer local config files and include one in the tutorial code - Update the guide to get users to configure
wkgglobal config before attempting usage.
A somewhat hidden requirement/sidequest to this issue is that we need more cargo-component/wasm-pkg-tools maintainers. The current functionality is fantastic for these tools, but the UX needs to be polished just a bit.
- 主要言語
- Rust
- スター
- 137
- フォーク
- 88
- 平均マージ
- 10時間 38分
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bytecodealliance/component-docs のほかの issue
-
難易度 2/5 半日 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
bytecodealliance/component-docs#294 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
bytecodealliance/component-docs#376 · コメント 1 件 ·
-
Fix Python Tutorial オープンbug lang/python
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
bytecodealliance/component-docs#348 · コメント 2 件 ·
bytecodealliance/component-docs の issue をすべて見る
似ている issue
-
bug github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
registrystack/registry-stack#1393 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
longbridge/gpui-kit#3223 ·
-
bug engine
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
rocky-data/rocky#2181 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
oasisprotocol/oasis-sdk#2523 ·
-
[indexer] [QA] Add a focused test for the new NonRetryableError / assertSocketAlive() behavior. オープンbot:ai-assisted component:indexer QA-roadmap status:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
midnightntwrk/midnight-indexer#1557 ·