buildRustCrate: Don't override the linker during cross
lld is sometimes need. The caller can do that instead.
This commit is contained in:
parent
680ff1bb81
commit
da95ae8e3d
|
@ -18,7 +18,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 New Issue