modify run scripts

This commit is contained in:
Mike Dilger 2023-03-06 14:38:07 +13:00
parent b6474eeb91
commit b3a766ce5f
2 changed files with 6 additions and 1 deletions

3
devrun.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
RUST_BACKTRACE=1 RUST_LOG="info,gossip=debug" cargo run

4
run.sh
View File

@ -1,3 +1,5 @@
#!/bin/bash
RUST_BACKTRACE=1 RUST_LOG="info,gossip=debug" cargo run
RUSTFLAGS="-C target-cpu=native --cfg tokio_unstable" cargo build --release
RUST_BACKTRACE=1 RUST_LOG="info,gossip=debug" ./target/release/gossip