Merge pull request #220429 from amjoseph-nixpkgs/pr/build-rust-crate/cross/linker

This commit is contained in:
Ryan Lahfa 2023-10-31 12:12:17 +01:00 committed by GitHub
commit b10994c38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@
);
binRustcOpts = lib.concatStringsSep " " (
[ "-C linker=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" ] ++
baseRustcOpts
);