difftreelog
build only build wasm when needed
in: master
4 files changed
node/cli/src/command.rsdiffbeforeafterboth405405406 cmd.run(config, partials.client.clone(), db, storage)406 cmd.run(config, partials.client.clone(), db, storage)407 }),407 }),408 BenchmarkCmd::Machine(cmd) => runner.sync_run(|config| cmd.run(&config)),408 BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),409 BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),409 }410 }410 }411 }runtime/opal/build.rsdiffbeforeafterboth14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617use substrate_wasm_builder::WasmBuilder;181619fn main() {17fn main() {18 #[cfg(feature = "std")]20 WasmBuilder::new()19 substrate_wasm_builder::WasmBuilder::new()21 .with_current_project()20 .with_current_project()22 .import_memory()21 .import_memory()23 .export_heap_base()22 .export_heap_base()runtime/quartz/build.rsdiffbeforeafterboth1use substrate_wasm_builder::WasmBuilder;23fn main() {1fn main() {2 #[cfg(feature = "std")]4 WasmBuilder::new()3 substrate_wasm_builder::WasmBuilder::new()5 .with_current_project()4 .with_current_project()6 .import_memory()5 .import_memory()7 .export_heap_base()6 .export_heap_base()runtime/unique/build.rsdiffbeforeafterboth1use substrate_wasm_builder::WasmBuilder;23fn main() {1fn main() {2 #[cfg(feature = "std")]4 WasmBuilder::new()3 substrate_wasm_builder::WasmBuilder::new()5 .with_current_project()4 .with_current_project()6 .import_memory()5 .import_memory()7 .export_heap_base()6 .export_heap_base()