File tree Expand file tree Collapse file tree 5 files changed +19
-8
lines changed
humanode-runtime-wasm-builder Expand file tree Collapse file tree 5 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export const build = {
7575 name : "build runtime with EVM tracing" ,
7676 cargoCommand : "build" ,
7777 cargoArgs :
78- "--locked --release --bin humanode-runtime-build-selector --features evm-tracing" ,
78+ "--locked --release --bin humanode-runtime-wasm-builder --features evm-tracing" ,
7979 cargoCacheKey : "release-build-runtime-evm-tracing" ,
8080 platformIndependent : true ,
8181 artifactSelector : "runtime" ,
Original file line number Diff line number Diff line change 1+ [package ]
2+ name = " humanode-runtime-wasm-builder"
3+ version = " 0.1.0"
4+ edition = " 2021"
5+ publish = false
6+
7+ [dependencies ]
8+ humanode-runtime = { path = " ../humanode-runtime" }
Original file line number Diff line number Diff line change 1- //! A stub binary target used to selectively build the WASM runtime via `build.rs`,
1+ //! Stub binary target used to selectively build the WASM runtime via `build.rs`,
22//! while ensuring consistent and correct feature resolution across the workspace.
33//!
44//! If you need to build only the `humanode-runtime` WASM, it will likely be incorrect to run
55//! `cargo build --package humanode-runtime --lib`. While seemingly precise, `--package` would build
66//! the WASM with the minimally acceptable — and likely untested — set of features. In contrast,
7- //! using `cargo build --bin humanode-runtime-build-selector ` results in Cargo resolving features
7+ //! using `cargo build --bin humanode-runtime-wasm-builder ` results in Cargo resolving features
88//! at the workspace level. The runtime is compiled with the same feature set that has already been
99//! tested through regular `--workspace` Cargo runs.
1010
11- /// A stub binary entrypoint.
11+ /// Stub binary entrypoint.
1212pub fn main ( ) { }
Original file line number Diff line number Diff line change @@ -4,10 +4,6 @@ version = "0.1.0"
44edition = " 2021"
55publish = false
66
7- [[bin ]]
8- name = " humanode-runtime-build-selector"
9- path = " src/bin/build_selector.rs"
10-
117[build-dependencies ]
128substrate-wasm-builder = { workspace = true , optional = true }
139
You can’t perform that action at this time.
0 commit comments