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.
This commit is contained in:
Mike Dilger 2023-07-09 09:13:55 +12:00
parent abe1c01d0d
commit 59f2a7eb25
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/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

3
run.sh
View File

@ -1,5 +1,6 @@
#!/bin/bash #!/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 RUST_LOG="info" ./target/release/gossip