1 suggestion
Optional improvements
[suggestion] · Native macOS jobs remain outside the linker-warning gate
Only the ld64.lld cross builds get the new gate; the pre-existing native macOS gap remains, so a warning unique to Apple's ld would still not fail CI.
Location: ci/test/00_setup_env_mac_cross.sh:24 (head).
Details and suggested fix
Both modified scripts run Linux-hosted depends builds, where depends/hosts/darwin.mk selects -fuse-ld=lld. The native standard and fuzz jobs instead use Xcode 26.3, and neither ci/test/00_setup_env_mac_native.sh nor ci/test/00_setup_env_mac_native_fuzz.sh enables fatal linker warnings. The existing -fatal_warnings probe applies to configuration checks, not normal target links. Add -DCMAKE_LINK_WARNING_AS_ERROR=ON to the native configurations as well to cover Apple's linker. If excluding native jobs is intentional, narrow the title and commit message to cross builds. Whether ld64.lld emits the specific warning motivating #35756 remains unverified.