fix log formatting in bootstrap
This commit is contained in:
parent
51a9df8c70
commit
e0593f30fb
2 changed files with 3 additions and 3 deletions
|
@ -1019,7 +1019,7 @@ impl Build {
|
||||||
|
|
||||||
fn info(&self, msg: &str) {
|
fn info(&self, msg: &str) {
|
||||||
match self.config.dry_run {
|
match self.config.dry_run {
|
||||||
DryRun::SelfCheck => return,
|
DryRun::SelfCheck => (),
|
||||||
DryRun::Disabled | DryRun::UserSelected => {
|
DryRun::Disabled | DryRun::UserSelected => {
|
||||||
println!("{msg}");
|
println!("{msg}");
|
||||||
}
|
}
|
||||||
|
|
|
@ -598,9 +598,9 @@ fn configure_cmake(
|
||||||
} else if target.contains("linux") {
|
} else if target.contains("linux") {
|
||||||
cfg.define("CMAKE_SYSTEM_NAME", "Linux");
|
cfg.define("CMAKE_SYSTEM_NAME", "Linux");
|
||||||
} else {
|
} else {
|
||||||
builder.info(
|
builder.info(&format!(
|
||||||
"could not determine CMAKE_SYSTEM_NAME from the target `{target}`, build may fail",
|
"could not determine CMAKE_SYSTEM_NAME from the target `{target}`, build may fail",
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
// When cross-compiling we should also set CMAKE_SYSTEM_VERSION, but in
|
// When cross-compiling we should also set CMAKE_SYSTEM_VERSION, but in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue