Tracking: `settings.toml` and its stability guarantees
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず、既存の settings.toml と state.toml の形式、および rustup default と rustup set コマンドの動作を確認します。提案されている環境変数の規約を Cargo の設定と比較し、そのうえで、どの設定を安定させるべきか、またそれらをどこに配置すべきかを判断します。合意された設定の境界と文書化された動作が定まれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I am bringing this up because of @djc's point that introducing too many environment variables for configuration might be too noisy: https://github.com/rust-lang/rustup/pull/4869#discussion_r3505609072
It seems that, following cargo's convention, a lot of cargo's config should have env var counterparts. Should rustup move more or less towards that direction?
Also there has been a previous topic regarding Nix-generated settings.toml in https://github.com/rust-lang/rustup/issues/4167, the question is whether we should stabilize at least a part of this config.
For now I have this on my machine:
version = "12"
default_toolchain = "stable-aarch64-apple-darwin"
profile = "default"
auto_install = "disable"
[overrides]
... but it's not entirely clear if this config should change much (and thus can be backed up/generated by a dotfile manager like chezmoi/Nix) and if so under what circumstances. Using rustup default to change the settings might look surprising because one may expect that only rustup set can change it.
Now that we have state.toml maybe we can move some values over there.
- 主要言語
- Rust
- スター
- 7.1k
- フォーク
- 1.1k
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 45
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-lang/rustup のほかの issue
-
enhancement O-shell
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
rust-analyzer fallback recurses through Homebrew’s wrapper対応中かも @rami3l が 2 日前に担当しました。 オープンenhancement O-macos
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
rust-lang/rustup#5133 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
Verbose output for removing components on toolchain update対応中かも @rami3l が 9 日前に担当しました。 オープンenhancement
rust-lang/rustup#5122 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Continuous performance tracking to avoid major regressions対応中かも @rami3l が 17 日前に担当しました。 オープンmeta
rust-lang/rustup#5103 · コメント 3 件 · リアクション 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Suggest another toolchain when removing a component unavailable to the current toolchain対応中かも @14elias が 2 日前に担当しました。 オープンenhancement help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
rust-lang/rustup#5098 · コメント 6 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
rust-lang/rustup の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
swc-project/swc#12516 ·
メンテナーはふだん 1 日以内に返信
-
mls-rs-crypto-awslc: exact aws-lc-rs =1.16.3 pin blocks rustls security update対応中かも @muscariello が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
[work-item] adam-adae-worsening-emergence: conform spec.yaml to the specification style contract (REQ-1280)対応中かも @muse-yamaa-bot が今日担当しました。 オープンwork-item
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
metasequoiaime/msime#7328 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eclipse-opensovd/classic-diagnostic-adapter#616 ·
メンテナーはふだん 2 日以内に返信