Skip to content

Commit 475e743

Browse files
committed
update default condition of llvm-tools for install step
Signed-off-by: onur-ozkan <[email protected]>
1 parent 63de63e commit 475e743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ install!((self, builder, _config),
244244
);
245245
}
246246
};
247-
LlvmTools, alias = "llvm-tools", Self::should_build(_config), only_hosts: true, {
247+
LlvmTools, alias = "llvm-tools", _config.llvm_tools_enabled && _config.llvm_enabled(_config.build), only_hosts: true, {
248248
if let Some(tarball) = builder.ensure(dist::LlvmTools { target: self.target }) {
249249
install_sh(builder, "llvm-tools", self.compiler.stage, Some(self.target), &tarball);
250250
} else {

0 commit comments

Comments
 (0)