Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

Commit 17b5f89

Browse files
committed
toolchain: add minimal profile components in case they are manually uninstalled
1 parent 848b0af commit 17b5f89

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

crates/cargo-gpu-install/src/install_toolchain.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@ use std::process::Command;
99
use std::string::FromUtf8Error;
1010

1111
/// list of required rustup components
12-
pub const REQUIRED_COMPONENTS: &[&str] =
13-
["rust-src", "rustc-dev", "llvm-tools", "clippy"].as_slice();
12+
pub const REQUIRED_COMPONENTS: &[&str] = [
13+
"cargo",
14+
"rustc",
15+
"rust-std",
16+
"clippy",
17+
"rust-src",
18+
"rustc-dev",
19+
"llvm-tools",
20+
]
21+
.as_slice();
1422

1523
/// Use `rustup` to install the toolchain and components, if not already installed.
1624
///

0 commit comments

Comments
 (0)