I am bringing this up because of @djc's point that introducing too many environment variables for configuration might be too noisy: #4869 (comment)
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 #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.
I am bringing this up because of @djc's point that introducing too many environment variables for configuration might be too noisy: #4869 (comment)
It seems that, following
cargo's convention, a lot ofcargo'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.tomlin #4167, the question is whether we should stabilize at least a part of this config.For now I have this on my machine:
... 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 defaultto change the settings might look surprising because one may expect that onlyrustup setcan change it.Now that we have
state.tomlmaybe we can move some values over there.