We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51a9df8 commit e0593f3Copy full SHA for e0593f3
src/bootstrap/lib.rs
@@ -1019,7 +1019,7 @@ impl Build {
1019
1020
fn info(&self, msg: &str) {
1021
match self.config.dry_run {
1022
- DryRun::SelfCheck => return,
+ DryRun::SelfCheck => (),
1023
DryRun::Disabled | DryRun::UserSelected => {
1024
println!("{msg}");
1025
}
src/bootstrap/llvm.rs
@@ -598,9 +598,9 @@ fn configure_cmake(
598
} else if target.contains("linux") {
599
cfg.define("CMAKE_SYSTEM_NAME", "Linux");
600
} else {
601
- builder.info(
+ builder.info(&format!(
602
"could not determine CMAKE_SYSTEM_NAME from the target `{target}`, build may fail",
603
- );
+ ));
604
605
606
// When cross-compiling we should also set CMAKE_SYSTEM_VERSION, but in
0 commit comments