about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/polkadot
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-05-18 11:38:32 +0200
committerAlyssa Ross <hi@alyssa.is>2024-05-29 23:08:09 +0200
commit07f40e68920c149c9c8ce62e283d73bd98a1413b (patch)
tree708cedc10d3e52b287b465c37d84f6f669f7c50e /pkgs/applications/blockchains/polkadot
parenta21afc1d92e0361bb52b8fae4954c6110ab87c21 (diff)
rustc: don't try to use non-existent rust-lld
This removes the need to manually override Rust's default linker for
every package that builds for wasm32-unknown-unknown.
Diffstat (limited to 'pkgs/applications/blockchains/polkadot')
-rw-r--r--pkgs/applications/blockchains/polkadot/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix
index 190bfc28d1327..0e71ddb7ba3bd 100644
--- a/pkgs/applications/blockchains/polkadot/default.nix
+++ b/pkgs/applications/blockchains/polkadot/default.nix
@@ -82,8 +82,6 @@ rustPlatform.buildRustPackage rec {
   # available for `rustc-wasm32`
   WASM_BUILD_STD = 0;
 
-  # NOTE: we need to force lld otherwise rust-lld is not found for wasm32 target
-  CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_LINKER = "lld";
   OPENSSL_NO_VENDOR = 1;
   PROTOC = "${protobuf}/bin/protoc";
   ROCKSDB_LIB_DIR = "${rocksdb}/lib";