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 08:20:23 +03:00 committed by GitHub
parent ff0060aa36
commit 3d2ab4e58c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 9 deletions

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",

6
flake.lock generated
View file

@ -58,11 +58,11 @@
]
},
"locked": {
"lastModified": 1743906877,
"narHash": "sha256-Thah1oU8Vy0gs9bh5QhNcQh1iuQiowMnZPbrkURonZA=",
"lastModified": 1747363019,
"narHash": "sha256-N4dwkRBmpOosa4gfFkFf/LTD8oOcNkAyvZ07JvRDEf0=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "9d00c6b69408dd40d067603012938d9fbe95cfcd",
"rev": "0e624f2b1972a34be1a9b35290ed18ea4b419b6f",
"type": "github"
},
"original": {