From 47f7f5eecbfabd23421375f3772f692298e82002 Mon Sep 17 00:00:00 2001 From: dr-frmr Date: Tue, 24 Oct 2023 20:39:44 -0400 Subject: [PATCH] remove register app build from build.rs (it's too slow!) and add it to readme instead --- README.md | 6 ++---- build.rs | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bc4c0801..bbff744c 100644 --- a/README.md +++ b/README.md @@ -23,14 +23,12 @@ cargo install --git https://github.com/bytecodealliance/cargo-component --locked # Initialize submodules, in particular the register app git submodule update --init --recursive +# Build the register app +cd src/register && ./build_all.sh && cd ../.. # Build the runtime, along with a number of booted-at-startup WASM modules including terminal and key_value # OPTIONAL: --release flag cargo +nightly build --release - -# Create the home directory for your node -# If you boot multiple nodes, make sure each has their own home directory. -mkdir home ``` ### Boot diff --git a/build.rs b/build.rs index 4d663c9d..6b47e39f 100644 --- a/build.rs +++ b/build.rs @@ -131,9 +131,6 @@ fn main() { let pwd = std::env::current_dir().unwrap(); - // build the register app - run_command(Command::new("./build_all.sh").current_dir("src/register")).unwrap(); - // create target.wasm (compiled .wit) & world run_command(Command::new("wasm-tools").args(&[ "component",