recomendations for rustc compilation and cargo usage for automation script
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
b922bf6c20
commit
61056ed162
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user