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

Improve ergonomics of Rust examples, re-enable use of published packages

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust, wasm

調査の方向性

まず、PR #254 で差し戻された機能と Rust チュートリアルのコードを確認します。文書化されているパッケージ設定と、cargo-component および wasm-pkg-tools の現在の動作を比較し、提案されている 3 つのアプローチのうちどれが実行可能かを判断します。完了の条件は、例で現在発生している設定または複数の world の解決に関する失敗なしに、公開された WIT パッケージを使用できることです。

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

説明

enhancement lang/rust

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-component does not configure/patch where wkg looks for deps (the target kind) when configured in Cargo.toml (i.e. we should be able to specify that docs is a known package w/ a known registry)
  • cargo-component currently does not properly resolve targets w/ multiple worlds even if wkg is configured (via it's global config file)
  • wkg should be able to use local fconfig

There are at least a few ways to solve this issue:

  1. Update cargo-component to perform the patching of registries for namespaces before using wasm-pkg-tools functionality
  2. Update wkg to prefer local config files and include one in the tutorial code
  3. Update the guide to get users to configure wkg global 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

bytecodealliance/component-docs のほかの issue

bytecodealliance/component-docs の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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