mirror of
https://github.com/mikedilger/gossip.git
synced 2024-10-01 09:21:53 +00:00
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:
parent
abe1c01d0d
commit
59f2a7eb25
@ -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
3
run.sh
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user