Rust-GPU / Rust-GPU/rust-gpu

`cargo gpu remove`

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

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

主要言語
Rust
スター
3.4k
フォーク
126
PR マージ指標
30日以内にマージされた PR はありません

説明

  • cargo gpu remove --shader-crate ../shader-crate-template: should remove the rustc_codegen_spirv install of said shader crate
  • cargo gpu remove --all should competely remove the entire cache dir, which would cleanup old installations by old cargo-gpu versions as well

Open Questions:

  • remove or clean?
  • cargo gpu remove <rust_gpu_version> We don't have a standardized way to declare a shader crate or a rust-gpu version. This would also be nice to have for installing
  • Should we prompt the user about uninstalling toolchains as well? Note that two installs can use the same toolchain version. We could check every other install on whether the toolchain is used and prompt the user if noone is using it, which could be made easier by having some metadata file per install with the toolchain cached in it (among other things).

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

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

はじめの一歩

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

調査の方向性

cargo gpu コマンドの実装から始め、shader-crate のインストールとキャッシュディレクトリがどのように記録されるかを追跡します。名前を指定した shader crate と --all に対する削除動作を定義し、未使用のツールチェーンを削除するかどうかも含めます。両方のクリーンアップモードが、インストールや共有ツールチェーンに影響を与えずに動作すれば完了です。

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

評価

技術スタック
rust
領域
cli, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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