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:
Mads Marquart 2024-04-10 18:00:43 +02:00
parent 69a3b0e213
commit 1a7238407c

View File

@ -298,6 +298,7 @@ fn link_env_remove(os: &'static str) -> StaticCow<[StaticCow<str>]> {
|| sdkroot.contains("WatchOS.platform")
|| sdkroot.contains("WatchSimulator.platform")
|| sdkroot.contains("XROS.platform")
|| sdkroot.contains("XRSimulator.platform")
{
env_remove.push("SDKROOT".into())
}