ci(release): publish explicit stealth artifacts
This commit is contained in:
1 parent
6ad8eb9040
commit
78a3e997e7
6 files changed
+102
-24
No files matched your search
+5
-8
@@ -2,11 +2,8 @@
|
||||
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. This causes boring-sys's cmake step to fail
|
||||
# when building with --features stealth. Setting CXXFLAGS and SDKROOT here makes
|
||||
# them visible to all build scripts (including boring-sys's) so cmake can locate
|
||||
# the headers. force=false lets CI or developers override via their shell env.
|
||||
# Non-macOS platforms ignore SDKROOT; the -isystem path is silently skipped if
|
||||
# it doesn't exist. See: https://github.com/h4ckf0r0day/obscura/issues/136
|
||||
CXXFLAGS = { value = "-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1", force = false }
|
||||
SDKROOT = { value = "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk", force = false }
|
||||
# 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 }
|
||||
Reference in new issue
Block a user