From 7e365420943dcbf4eed63ae177e64eff8dfd0d9f Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Sat, 8 Feb 2025 06:00:58 +0100 Subject: [PATCH] fix? --- tests/test.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test.rs b/tests/test.rs index fc2b406e..3aa9c4d2 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -563,6 +563,8 @@ fn gnu_apple_arch() { .compiler("fake-gcc") .target(&target) .host(&"aarch64-apple-darwin") + // Fake SDK root to avoid running xcrun + .__set_env("SDKROOT", "/tmp") .file("foo.c") .compile("foo"); @@ -607,6 +609,8 @@ fn gnu_apple_deployment_target() { .__set_env("TVOS_DEPLOYMENT_TARGET", "10.0") .__set_env("WATCHOS_DEPLOYMENT_TARGET", "5.0") .__set_env("XROS_DEPLOYMENT_TARGET", "1.0") + // Fake SDK root to avoid running xcrun + .__set_env("SDKROOT", "/tmp") .file("foo.c") .compile("foo");