diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-01-01 23:35:26 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-01-02 17:47:13 +1100 |
| commit | b84c54ac878d9e5acf8f2af416e7b6c32446205d (patch) | |
| tree | 71418b2ac5c584919322ac5a6c792cbde8b1a333 /src/bootstrap | |
| parent | e76c484d6d06129203cc71c99e5c1a5ff9ee26e8 (diff) | |
Remove two unused parameters from `tool_extended!`
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/tool.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bootstrap/src/core/build_steps/tool.rs b/src/bootstrap/src/core/build_steps/tool.rs index 9883795c1fc..75fad34bb5a 100644 --- a/src/bootstrap/src/core/build_steps/tool.rs +++ b/src/bootstrap/src/core/build_steps/tool.rs @@ -1012,8 +1012,6 @@ macro_rules! tool_extended { $path:expr, $tool_name:expr, stable = $stable:expr - $(,tool_std = $tool_std:literal)? - $(,allow_features = $allow_features:expr)? $(,add_bins_to_sysroot = $add_bins_to_sysroot:expr)? ;)+) => { $( @@ -1059,11 +1057,11 @@ macro_rules! tool_extended { compiler: $sel.compiler, target: $sel.target, tool: $tool_name, - mode: if false $(|| $tool_std)? { Mode::ToolStd } else { Mode::ToolRustc }, + mode: Mode::ToolRustc, path: $path, extra_features: vec![], source_type: SourceType::InTree, - allow_features: concat!($($allow_features)*), + allow_features: "", cargo_args: vec![] }); |
