buildRustCrate: Don't override the linker during cross
lld is sometimes need. The caller can do that instead.
This commit is contained in:
parent
4430761186
commit
811f849961
|
@ -17,7 +17,6 @@
|
|||
(mkRustcFeatureArgs crateFeatures)
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"--target" (rust.toRustTargetSpec stdenv.hostPlatform)
|
||||
"-C" "linker=${stdenv.hostPlatform.config}-ld"
|
||||
] ++ extraRustcOpts
|
||||
# since rustc 1.42 the "proc_macro" crate is part of the default crate prelude
|
||||
# https://github.com/rust-lang/cargo/commit/4d64eb99a4#diff-7f98585dbf9d30aa100c8318e2c77e79R1021-R1022
|
||||
|
|
Loading…
Reference in a new issue