Skip to content

Commit b84c54a

Browse files
committed
Remove two unused parameters from tool_extended!
1 parent e76c484 commit b84c54a

File tree

1 file changed

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

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,8 +1012,6 @@ macro_rules! tool_extended {
10121012
$path:expr,
10131013
$tool_name:expr,
10141014
stable = $stable:expr
1015-
$(,tool_std = $tool_std:literal)?
1016-
$(,allow_features = $allow_features:expr)?
10171015
$(,add_bins_to_sysroot = $add_bins_to_sysroot:expr)?
10181016
;)+) => {
10191017
$(
@@ -1059,11 +1057,11 @@ macro_rules! tool_extended {
10591057
compiler: $sel.compiler,
10601058
target: $sel.target,
10611059
tool: $tool_name,
1062-
mode: if false $(|| $tool_std)? { Mode::ToolStd } else { Mode::ToolRustc },
1060+
mode: Mode::ToolRustc,
10631061
path: $path,
10641062
extra_features: vec![],
10651063
source_type: SourceType::InTree,
1066-
allow_features: concat!($($allow_features)*),
1064+
allow_features: "",
10671065
cargo_args: vec![]
10681066
});
10691067

0 commit comments

Comments
 (0)