Use Zig-compatible Apple symbol lookup.
Some checks failed
Tagged release / prepare-release (push) Successful in 2m59s
Tagged release / build-linux-x64 (push) Successful in 35m59s
Tagged release / build-macos (push) Failing after 39m13s
Tagged release / build-linux-arm64 (push) Successful in 33m55s
Tagged release / publish-release (push) Has been cancelled
Tagged release / build-windows (push) Has been cancelled

This commit is contained in:
Hermes Agent
2026-08-15 01:43:14 +00:00
parent 6a4cf3fc2b
commit 0c32f9fdee
2 changed files with 7 additions and 4 deletions

View File

@@ -130,8 +130,7 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
"cargo-zigbuild",
"macos-linker-alias",
"-Lnative=target/macos-linker",
"-Wl,-U,_OBJC_CLASS_$_MLComputePlan",
"-Wl,-U,_OBJC_CLASS_$_MLOptimizationHints",
"-Wl,-undefined,dynamic_lookup",
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"aarch64-unknown-linux-gnu",
@@ -159,6 +158,10 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
"release workflow is missing {required}"
);
}
assert!(
!workflow.contains("-Wl,-U,"),
"Zig's Darwin linker does not support ld64's symbol-specific -U option"
);
for forbidden in ["python", "curl ", "hdiutil", "makensis", "tar -"] {
assert!(
!workflow.contains(forbidden),