rustbuild: make tidy happy
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
This commit is contained in:
parent
8f91a45e48
commit
98175892b0
1 changed files with 2 additions and 1 deletions
|
|
@ -436,13 +436,14 @@ macro_rules! tool_extended {
|
|||
|
||||
fn run($sel, $builder: &Builder) -> Option<PathBuf> {
|
||||
$extra_deps
|
||||
let toolstate = $builder.build.config.toolstate.$toolstate;
|
||||
$builder.ensure(ToolBuild {
|
||||
compiler: $sel.compiler,
|
||||
target: $sel.target,
|
||||
tool: $tool_name,
|
||||
mode: Mode::Librustc,
|
||||
path: $path,
|
||||
expectation: $builder.build.config.toolstate.$toolstate.passes(ToolState::Compiling),
|
||||
expectation: toolstate.passes(ToolState::Compiling),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue