mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Allow specifying SDKROOT as containing XRSimulator.platform
Checking this was missing from the `link_env_remove` function, so compilation might fail if set when compiling for macOS
This commit is contained in:
parent
69a3b0e213
commit
1a7238407c
@ -298,6 +298,7 @@ fn link_env_remove(os: &'static str) -> StaticCow<[StaticCow<str>]> {
|
|||||||
|| sdkroot.contains("WatchOS.platform")
|
|| sdkroot.contains("WatchOS.platform")
|
||||||
|| sdkroot.contains("WatchSimulator.platform")
|
|| sdkroot.contains("WatchSimulator.platform")
|
||||||
|| sdkroot.contains("XROS.platform")
|
|| sdkroot.contains("XROS.platform")
|
||||||
|
|| sdkroot.contains("XRSimulator.platform")
|
||||||
{
|
{
|
||||||
env_remove.push("SDKROOT".into())
|
env_remove.push("SDKROOT".into())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user