File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1019,7 +1019,7 @@ impl Build {
1019
1019
1020
1020
fn info ( & self , msg : & str ) {
1021
1021
match self . config . dry_run {
1022
- DryRun :: SelfCheck => return ,
1022
+ DryRun :: SelfCheck => ( ) ,
1023
1023
DryRun :: Disabled | DryRun :: UserSelected => {
1024
1024
println ! ( "{msg}" ) ;
1025
1025
}
Original file line number Diff line number Diff line change @@ -598,9 +598,9 @@ fn configure_cmake(
598
598
} else if target. contains ( "linux" ) {
599
599
cfg. define ( "CMAKE_SYSTEM_NAME" , "Linux" ) ;
600
600
} else {
601
- builder. info (
601
+ builder. info ( & format ! (
602
602
"could not determine CMAKE_SYSTEM_NAME from the target `{target}`, build may fail" ,
603
- ) ;
603
+ ) ) ;
604
604
}
605
605
606
606
// When cross-compiling we should also set CMAKE_SYSTEM_VERSION, but in
You can’t perform that action at this time.
0 commit comments