We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustc --version
1 parent 9b1b54a commit 09a23b7Copy full SHA for 09a23b7
src/rustup-cli/common.rs
@@ -235,7 +235,7 @@ pub fn rustc_version(toolchain: &Toolchain) -> String {
235
// we guard against such cases by enforcing a reasonable timeout to read.
236
let mut line1 = None;
237
if let Ok(mut child) = cmd.spawn() {
238
- let timeout = Duration::new(3, 0);
+ let timeout = Duration::new(10, 0);
239
match child.wait_timeout(timeout) {
240
Ok(Some(status)) if status.success() => {
241
let out = child.stdout.expect("Child::stdout requested but not present");
0 commit comments