It would be useful to have a default toolchain symlink available in $RUSTUP_HOME/toolchains to add to the PATH in shell config in order to avoid needing to reload shell configuration after running rustup default <toolchain>
. Instead the symlink could be changed (similar to how nix manages the environment) to point to the other toolchain, thus the existing entry in the PATH would already be pointing to the correct versions of rustc, etc.
I’m not sure about Windows, but as far as linux and macOS are concerned, this seems like it would be a fairly simple feature to implement.
Do other people think this would be a useful feature for rustup?
I can implement this if there is consensus that this feature would be useful and a patch doing this would be accepted to rustup.rs.