Move to wasm32v1-none from wasm32-unknown-unknown

Works towards fixing how the Substrate node Docker image no longer works.
This commit is contained in:
Luke Parker
2025-08-15 10:55:05 -04:00
parent e3809b2ff1
commit a32b97be88
9 changed files with 233 additions and 197 deletions

View File

@@ -76,7 +76,7 @@ frame-system-rpc-runtime-api = { git = "https://github.com/serai-dex/substrate",
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
[build-dependencies]
substrate-wasm-builder = { git = "https://github.com/serai-dex/substrate" }
substrate-wasm-builder = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" }
[features]
std = [

View File

@@ -1,10 +1,4 @@
use substrate_wasm_builder::WasmBuilder;
fn main() {
WasmBuilder::new()
.with_current_project()
.disable_runtime_version_section_check()
.export_heap_base()
.import_memory()
.build()
#[cfg(feature = "std")]
substrate_wasm_builder::WasmBuilder::build_using_defaults();
}