mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
Fixed bad formatting
This commit is contained in:
parent
52960d499e
commit
61fd74f486
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user