`cargo gpu remove`
オープン
まだ誰も着手していません。
- 主要言語
- Rust
- スター
- 3.4k
- フォーク
- 126
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
cargo gpu remove --shader-crate ../shader-crate-template: should remove therustc_codegen_spirvinstall of said shader cratecargo gpu remove --allshould competely remove the entire cache dir, which would cleanup old installations by old cargo-gpu versions as well
Open Questions:
removeorclean?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).
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
cargo gpu コマンドの実装から始め、shader-crate のインストールとキャッシュディレクトリがどのように記録されるかを追跡します。名前を指定した shader crate と --all に対する削除動作を定義し、未使用のツールチェーンを削除するかどうかも含めます。両方のクリーンアップモードが、インストールや共有ツールチェーンに影響を与えずに動作すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- cli, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100