From 005daabe6d337e9e0570ef1ab2500b7354d391c8 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 17 Nov 2025 08:43:12 +0100 Subject: [PATCH] ./miri toolchain: also install rust-analyzer --- miri-script/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miri-script/src/commands.rs b/miri-script/src/commands.rs index 5a8bf76bef..2800a3f702 100644 --- a/miri-script/src/commands.rs +++ b/miri-script/src/commands.rs @@ -153,7 +153,7 @@ impl Command { // Install and setup new toolchain. cmd!(sh, "rustup toolchain uninstall miri").run()?; - cmd!(sh, "rustup-toolchain-install-master -n miri -c cargo -c rust-src -c rustc-dev -c llvm-tools -c rustfmt -c clippy {flags...} -- {new_commit}") + cmd!(sh, "rustup-toolchain-install-master -n miri -c cargo -c rust-src -c rustc-dev -c llvm-tools -c rustfmt -c clippy -c rust-analyzer {flags...} -- {new_commit}") .run() .context("Failed to run rustup-toolchain-install-master. If it is not installed, run 'cargo install rustup-toolchain-install-master'.")?; cmd!(sh, "rustup override set miri").run()?;