Fixed bad formatting

This commit is contained in:
Adam Gastineau 2024-03-23 16:51:01 -07:00
parent 52960d499e
commit 61fd74f486

View File

@ -3025,11 +3025,9 @@ fn get_apple_sdk_root(sdk_name: &str) -> Result<String, errors::AppleSdkRootErro
"watchsimulator" "watchsimulator"
if sdkroot.contains("WatchOS.platform") || sdkroot.contains("MacOSX.platform") => {} if sdkroot.contains("WatchOS.platform") || sdkroot.contains("MacOSX.platform") => {}
"visionos" "visionos"
if sdkroot.contains("XROS.platform") || sdkroot.contains("MacOSX.platform") => { if sdkroot.contains("XROS.platform") || sdkroot.contains("MacOSX.platform") => {}
}
"visionossimulator" "visionossimulator"
if sdkroot.contains("XROS.platform") || sdkroot.contains("MacOSX.platform") => { if sdkroot.contains("XROS.platform") || sdkroot.contains("MacOSX.platform") => {}
}
// Ignore `SDKROOT` if it's not a valid path. // Ignore `SDKROOT` if it's not a valid path.
_ if !p.is_absolute() || p == Path::new("/") || !p.exists() => {} _ if !p.is_absolute() || p == Path::new("/") || !p.exists() => {}
_ => return Ok(sdkroot), _ => return Ok(sdkroot),