Fix rustup update to avoid interactive prompts

Redirects stdin from /dev/null when running 'rustup update' to prevent any interactive prompts that may block automated scripts.
This commit is contained in:
CanbiZ
2025-11-21 15:22:01 +01:00
parent 4b0fb547e9
commit ff6cb3b87e

View File

@@ -4439,7 +4439,7 @@ function setup_rust() {
}
# Update to latest patch version
$STD rustup update "$RUST_TOOLCHAIN" || true
$STD rustup update "$RUST_TOOLCHAIN" </dev/null || true
# Ensure PATH is updated for current shell session
export PATH="$CARGO_BIN:$PATH"