From 31ee0df0bf30a24537ba5ad444942ed6bea49aef Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Thu, 2 Aug 2018 15:51:21 +0300 Subject: [PATCH] Use stable Rust from ./scripts/run.sh --- scripts/run.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/run.sh b/scripts/run.sh index 45c1bf61a..864764e87 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -4,14 +4,16 @@ trap 'kill $(jobs -p)' EXIT DELAY=5 LOG=/tmp/electrs.log +CARGO="cargo +stable" + tail -v -n0 -F "$LOG" & export RUST_BACKTRACE=1 while : do - cargo fmt - cargo check --release - cargo run --release -- $* 2>> "$LOG" + $CARGO fmt + $CARGO check --release + $CARGO run --release -- $* 2>> "$LOG" echo "Restarting in $DELAY seconds..." sleep $DELAY done