ci(release): use active macOS SDK for stealth builds

This commit is contained in:
SGavrl committed 2026-07-26 11:47:15 +00:00
1 parent 8078cc3070
commit 0670e738a0
3 files changed
+13 -8

No files matched your search

-7
View File
@@ -1,9 +1,2 @@
[env]
RUST_TEST_THREADS = "1"
# macOS 26 (Tahoe) moved libc++ headers inside the SDK; Apple clang 17 no longer
# finds them at the old search path. Scope the workaround to Apple targets so a
# Linux stealth build never inherits a macOS SDK include flag. cc-rs recognizes
# the target-suffixed CXXFLAGS variables below. See issue #136.
CXXFLAGS_aarch64_apple_darwin = { value = "-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1", force = false }
CXXFLAGS_x86_64_apple_darwin = { value = "-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1", force = false }