Skip to content

Commit ff6b683

Browse files
Allow more time for rustup-init install
Due to rust-lang/rustup#1540, installing the docs on Windows can be slow enough to time out a fresh rustc install. Marking this `Command` as `quiet` increases the timeout.
1 parent 5c3d81b commit ff6b683

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/rustup.rs

+3
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,16 @@ impl InstallableTool for Rustup {
5959
native::make_executable(installer)?;
6060
}
6161

62+
// TODO(rustup.rs#998): Remove `.quiet(true)` once rust-docs is no longer a mandatory
63+
// component.
6264
RunCommand::new(installer.to_string_lossy().as_ref())
6365
.args(&[
6466
"-y",
6567
"--no-modify-path",
6668
"--default-toolchain",
6769
MAIN_TOOLCHAIN_NAME,
6870
])
71+
.quiet(true)
6972
.local_rustup(true)
7073
.run()
7174
.with_context(|_| "unable to install rustup")?;

0 commit comments

Comments
 (0)