We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d7cb4 commit d5c6cbbCopy full SHA for d5c6cbb
crates/toolchain/src/lib.rs
@@ -81,6 +81,8 @@ pub fn command<H>(
81
#[allow(clippy::disallowed_methods)]
82
let mut cmd = Command::new(cmd);
83
cmd.current_dir(working_directory);
84
+ // Prevent rustup from automatically installing toolchains, see https://github.com/rust-lang/rust-analyzer/issues/20719.
85
+ cmd.env("RUSTUP_AUTO_INSTALL", "0");
86
for env in extra_env {
87
match env {
88
(key, Some(val)) => cmd.env(key, val),
0 commit comments