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

`cargo gpu build` tries to use `-q` with `rustup toolchain list`, which is not allowed

クローズ 初心者向け
#669 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
tooling

調査の方向性

まず cargo-gpu のソースコードで、エラーに表示されている rustup toolchain list の呼び出しを検索します。コマンドがサポートするオプションを確認し、サポートされていない -q 引数を削除するか調整します。その後、cargo gpu build -p mygraphics-shaders で再現します。このエラーが発生せず、ビルドがツールチェーンの検出を通過すれば完了です。

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

説明

bug
Expected Behaviour

I expected cargo gpu build -p mygraphics-shaders to compile the crate in the current directory and place the compiled shaders in the current directory.

Example & Steps To Reproduce
  1. cargo install --locked --force --profile release --git https://github.com/rust-gpu/rust-gpu cargo-gpu (at the time, main was on 9fd4dc30c8f9e791c6d4bfc84683ec431aba452d)
  2. cargo gpu generate
  3. graphics template
  4. Project name learn-rust-gpu-2
  5. wgpu API
  6. Integrate rust-gpu using cargo-gpu
  7. cd learn-rust-gpu-2/
  8. cargo gpu build -p mygraphics-shaders
  9. See the error below.
[2026-10-11T01:14:51Z ERROR cargo_gpu] ensuring toolchain and components exist

    Caused by:
        Command `rustup toolchain list -q` failed with exit status: 1:
        -- stdout
        error: unexpected argument '-q' found

        Usage: rustup toolchain list [OPTIONS]

        For more information, try '--help'.

        -- stderr

Error: ensuring toolchain and components exist

System Info

  • Rust: rustc 1.99.0 (b940084d7 2026-09-28)
  • OS: Fedora Kinoite 44.20261008.0 (2026-10-08T00:44:42Z)
  • GPU: AMD Radeon RX 7700 XT
  • SPIR-V: None?
  • Vulkan Instance Version: 1.4.341
主要言語
Rust
スター
3.4k
フォーク
132
平均マージ
21時間 41分
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

Rust-GPU/rust-gpu のほかの issue

Rust-GPU/rust-gpu の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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