From 59f2a7eb259705b317754c7a8d4983e0fb5d081b Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Sun, 9 Jul 2023 09:13:55 +1200 Subject: [PATCH] change run.sh and devrun.sh scripts: We don't need to compile for native target in run.sh, the speed difference is trivial and it triggers a current bug. --- devrun.sh | 3 ++- run.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/devrun.sh b/devrun.sh index 36a34b15..8bbf4527 100755 --- a/devrun.sh +++ b/devrun.sh @@ -1,3 +1,4 @@ #!/bin/bash -RUST_BACKTRACE=1 RUST_LOG="info,gossip=debug" cargo run +cargo build --features=lang-cjk,video-ffmpeg && \ + RUST_BACKTRACE=1 RUST_LOG="info,gossip=debug" ./target/debug/gossip diff --git a/run.sh b/run.sh index 2f17664d..e2d6471c 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1,6 @@ #!/bin/bash -RUSTFLAGS="-C target-cpu=native --cfg tokio_unstable" cargo build --features=lang-cjk,video-ffmpeg --release && \ +#RUSTFLAGS="-C target-cpu=native --cfg tokio_unstable" +cargo build --features=lang-cjk,video-ffmpeg --release && \ RUST_LOG="info" ./target/release/gossip