提交 98175892 编写于 作者: M Marc-Antoine Perennou

rustbuild: make tidy happy

Signed-off-by: NMarc-Antoine Perennou <Marc-Antoine@Perennou.com>
上级 8f91a45e
......@@ -436,13 +436,14 @@ fn make_run(run: RunConfig) {
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),
})
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册