We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tool::Cargofmt
1 parent fbc3f74 commit 66a27eeCopy full SHA for 66a27ee
src/bootstrap/src/core/build_steps/tool.rs
@@ -1186,7 +1186,12 @@ fn run_tool_build_step(
1186
}
1187
1188
1189
-tool_extended!(Cargofmt { path: "src/tools/rustfmt", tool_name: "cargo-fmt", stable: true });
+tool_extended!(Cargofmt {
1190
+ path: "src/tools/rustfmt",
1191
+ tool_name: "cargo-fmt",
1192
+ stable: true,
1193
+ add_bins_to_sysroot: ["cargo-fmt"]
1194
+});
1195
tool_extended!(CargoClippy {
1196
path: "src/tools/clippy",
1197
tool_name: "cargo-clippy",
src/bootstrap/src/core/builder/mod.rs
@@ -890,6 +890,7 @@ impl<'a> Builder<'a> {
890
gcc::Gcc,
891
llvm::Sanitizers,
892
tool::Rustfmt,
893
+ tool::Cargofmt,
894
tool::Miri,
895
tool::CargoMiri,
896
llvm::Lld,
0 commit comments