Skip to content

Commit

Permalink
fix(rust): enable headerpad_max_install for darwin
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
  • Loading branch information
rvolosatovs committed Jan 30, 2025
1 parent 6692afd commit f47d3a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rust/mkAttrs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ let
"CC_${target}" = "${target}-zigcc";

"CARGO_TARGET_${toUpper (kebab2snake target)}_LINKER" = "rust-lld";
"CARGO_TARGET_${toUpper (kebab2snake target)}_RUSTFLAGS" = "-Clink-arg=-headerpad_max_install_names";
}
else
(
Expand Down

0 comments on commit f47d3a9

Please sign in to comment.