Skip to content

Commit 7e36542

Browse files
committed
fix?
1 parent 6b9efcc commit 7e36542

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test.rs

+4
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,8 @@ fn gnu_apple_arch() {
563563
.compiler("fake-gcc")
564564
.target(&target)
565565
.host(&"aarch64-apple-darwin")
566+
// Fake SDK root to avoid running xcrun
567+
.__set_env("SDKROOT", "/tmp")
566568
.file("foo.c")
567569
.compile("foo");
568570

@@ -607,6 +609,8 @@ fn gnu_apple_deployment_target() {
607609
.__set_env("TVOS_DEPLOYMENT_TARGET", "10.0")
608610
.__set_env("WATCHOS_DEPLOYMENT_TARGET", "5.0")
609611
.__set_env("XROS_DEPLOYMENT_TARGET", "1.0")
612+
// Fake SDK root to avoid running xcrun
613+
.__set_env("SDKROOT", "/tmp")
610614
.file("foo.c")
611615
.compile("foo");
612616

0 commit comments

Comments
 (0)