Skip to content

Commit

Permalink
polkadot-sdk: don't build runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva committed Dec 29, 2024
1 parent d256121 commit 4298e53
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/polkadot-sdk/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ rustPlatform.buildRustPackage rec {
SystemConfiguration
];

# NOTE: disable building `core`/`std` in wasm environment since rust-src isn't
# available for `rustc-wasm32`
WASM_BUILD_STD = 0;
# NOTE: currently we can't build the runtimes since it requires rebuilding rust std
# (-Zbuild-std), for which rust-src is required to be available in the sysroot of rustc.
# this should no longer be needed after: https://github.com/paritytech/polkadot-sdk/pull/7008
# since the new wasmv1-none target won't require rebuilding std.
SKIP_WASM_BUILD = 1;

OPENSSL_NO_VENDOR = 1;
PROTOC = "${protobuf}/bin/protoc";
Expand Down

0 comments on commit 4298e53

Please sign in to comment.