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:
parent
4b0fb547e9
commit
ff6cb3b87e
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user