mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-21 21:15:16 +00:00
Refine comment on setting default Rust toolchain
Removed redundant comment about fixing old installations.
This commit is contained in:
@@ -4360,7 +4360,7 @@ function setup_rust() {
|
||||
# Scenario 2: Rustup already installed - update/maintain
|
||||
msg_info "Update Rust ($RUST_TOOLCHAIN)"
|
||||
|
||||
# Ensure default toolchain is set (fixes issue with old installations)
|
||||
# Ensure default toolchain is set
|
||||
$STD rustup default "$RUST_TOOLCHAIN" 2>/dev/null || {
|
||||
# If default fails, install the toolchain first
|
||||
$STD rustup install "$RUST_TOOLCHAIN" || {
|
||||
|
||||
Reference in New Issue
Block a user