build: Remove -all_load linker argument on macOS (#30656)

This fixes builds in nix development shell on macOS

Release Notes:

- N/A
This commit is contained in:
Stanislav Alekseev
2025-05-17 07:20:23 +02:00
committed by GitHub
parent ff0060aa36
commit 3d2ab4e58c
2 changed files with 3 additions and 9 deletions
-6
View File
@@ -13,12 +13,6 @@ rustflags = ["-C", "link-arg=-fuse-ld=mold"]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
[target.aarch64-apple-darwin]
rustflags = ["-C", "link-args=-all_load"]
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-args=-all_load"]
[target.'cfg(target_os = "windows")']
rustflags = [
"--cfg",