Skip to content

Commit 5781d3e

Browse files
authored
fix tests apple_sdkroot_wrong (#1530)
* Revert temporary comment-out in apple_sdkroot_wrong in test.rs * Fix test.rs
1 parent d264a7c commit 5781d3e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -788,11 +788,10 @@ fn apple_sdkroot_wrong() {
788788
return;
789789
}
790790

791-
let wrong_sdkroot = "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk";
791+
let wrong_sdkroot = "/Library/Developer/CommandLineTools/SDKs/MacOSX.platform";
792792
let test = Test::clang();
793793
test.gcc()
794-
// TODO fix-me https://github.com/rust-lang/cc-rs/pull/1516#discussion_r2295709756
795-
//.__set_env("SDKROOT", wrong_sdkroot)
794+
.__set_env("SDKROOT", wrong_sdkroot)
796795
.target("aarch64-apple-ios")
797796
.file("foo.c")
798797
.compile("foo");

0 commit comments

Comments
 (0)