Skip to content

Commit 13f3bd1

Browse files
committed
add tool::CargoClippy binary to target sysroot
Signed-off-by: onur-ozkan <[email protected]>
1 parent e0be1a0 commit 13f3bd1

File tree

1 file changed

+7
-2
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+7
-2
lines changed

src/bootstrap/src/core/build_steps/tool.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -1187,12 +1187,17 @@ fn run_tool_build_step(
11871187
}
11881188

11891189
tool_extended!(Cargofmt { path: "src/tools/rustfmt", tool_name: "cargo-fmt", stable: true });
1190-
tool_extended!(CargoClippy { path: "src/tools/clippy", tool_name: "cargo-clippy", stable: true });
1190+
tool_extended!(CargoClippy {
1191+
path: "src/tools/clippy",
1192+
tool_name: "cargo-clippy",
1193+
stable: true,
1194+
add_bins_to_sysroot: ["cargo-clippy"]
1195+
});
11911196
tool_extended!(Clippy {
11921197
path: "src/tools/clippy",
11931198
tool_name: "clippy-driver",
11941199
stable: true,
1195-
add_bins_to_sysroot: ["clippy-driver", "cargo-clippy"]
1200+
add_bins_to_sysroot: ["clippy-driver"]
11961201
});
11971202
tool_extended!(Miri {
11981203
path: "src/tools/miri",

0 commit comments

Comments
 (0)