We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f91a45 commit 9817589Copy full SHA for 9817589
src/bootstrap/tool.rs
@@ -436,13 +436,14 @@ macro_rules! tool_extended {
436
437
fn run($sel, $builder: &Builder) -> Option<PathBuf> {
438
$extra_deps
439
+ let toolstate = $builder.build.config.toolstate.$toolstate;
440
$builder.ensure(ToolBuild {
441
compiler: $sel.compiler,
442
target: $sel.target,
443
tool: $tool_name,
444
mode: Mode::Librustc,
445
path: $path,
- expectation: $builder.build.config.toolstate.$toolstate.passes(ToolState::Compiling),
446
+ expectation: toolstate.passes(ToolState::Compiling),
447
})
448
}
449
0 commit comments