recomendations for rustc compilation and cargo usage for automation script

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2025-07-28 16:28:23 +03:00
parent b922bf6c20
commit 61056ed162
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA

View File

@ -200,6 +200,15 @@ if [[ $HARD_RESET = true ]]; then
# echo "[+] fetching the latest ghost-node source code"
# git switch main
# git pull origin main
# rustc version control, this works fine
# cargo --version | cut -d'.' -f2, if higher then do
# rustup default 1.83.0
# rustup target add wasm32-unknown-unknown --toolchain 1.83.0-x86_64-unknown-linux-gnu
# rustup component add rust-src --toolchain 1.83.0-x86_64-unknown-linux-gnu
#
# I think we need to do clean before recompilation
# cargo clean
cd $PROJECT_FOLDER
echo "[+] starting build in 3 seconds..."