From 118c2e446b6bc0eb388dec735714e919d7df09ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sat, 1 Aug 2020 23:23:10 +0200 Subject: [PATCH] scripts: don't print RUSTFLAGS, causes issues when printing configs --- TODO.md | 1 - scripts/bench-udp-handlers.sh | 2 -- scripts/run-aquatic-http.sh | 2 -- scripts/run-aquatic-udp.sh | 2 -- scripts/run-aquatic-ws.sh | 2 -- scripts/run-load-test-http.sh | 2 -- scripts/run-load-test-udp.sh | 2 -- scripts/run-load-test-ws.sh | 2 -- 8 files changed, 15 deletions(-) diff --git a/TODO.md b/TODO.md index df8ef0a..744af60 100644 --- a/TODO.md +++ b/TODO.md @@ -2,7 +2,6 @@ ## General -* don't print RUSTFLAGS in scripts, it causes issues with config printing * init logging in cli helper crate? ## aquatic_http_load_test diff --git a/scripts/bench-udp-handlers.sh b/scripts/bench-udp-handlers.sh index 800c71e..df9b9ce 100755 --- a/scripts/bench-udp-handlers.sh +++ b/scripts/bench-udp-handlers.sh @@ -8,6 +8,4 @@ DISABLE_AVX512=$(rustc --print target-features | grep " avx512" | export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512" -echo "Compiling with RUSTFLAGS=$RUSTFLAGS"" - cargo run --release --bin aquatic_udp_bench -- $@ \ No newline at end of file diff --git a/scripts/run-aquatic-http.sh b/scripts/run-aquatic-http.sh index b6e048a..c95904e 100755 --- a/scripts/run-aquatic-http.sh +++ b/scripts/run-aquatic-http.sh @@ -8,6 +8,4 @@ DISABLE_AVX512=$(rustc --print target-features | grep " avx512" | export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512" -echo "Compiling with RUSTFLAGS=$RUSTFLAGS" - cargo run --release --bin aquatic_http -- $@ diff --git a/scripts/run-aquatic-udp.sh b/scripts/run-aquatic-udp.sh index a6cb97b..57f27f3 100755 --- a/scripts/run-aquatic-udp.sh +++ b/scripts/run-aquatic-udp.sh @@ -8,6 +8,4 @@ DISABLE_AVX512=$(rustc --print target-features | grep " avx512" | export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512" -echo "Compiling with RUSTFLAGS=$RUSTFLAGS" - cargo run --release --bin aquatic_udp -- $@ diff --git a/scripts/run-aquatic-ws.sh b/scripts/run-aquatic-ws.sh index 50ae675..2aad847 100755 --- a/scripts/run-aquatic-ws.sh +++ b/scripts/run-aquatic-ws.sh @@ -8,6 +8,4 @@ DISABLE_AVX512=$(rustc --print target-features | grep " avx512" | export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512" -echo "Compiling with RUSTFLAGS=$RUSTFLAGS" - cargo run --release --bin aquatic_ws -- $@ diff --git a/scripts/run-load-test-http.sh b/scripts/run-load-test-http.sh index b80e1a0..e8d1a24 100755 --- a/scripts/run-load-test-http.sh +++ b/scripts/run-load-test-http.sh @@ -8,6 +8,4 @@ DISABLE_AVX512=$(rustc --print target-features | grep " avx512" | export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512" -echo "Compiling with RUSTFLAGS=$RUSTFLAGS" - cargo run --release --bin aquatic_http_load_test -- $@ \ No newline at end of file diff --git a/scripts/run-load-test-udp.sh b/scripts/run-load-test-udp.sh index 084822b..90f30cc 100755 --- a/scripts/run-load-test-udp.sh +++ b/scripts/run-load-test-udp.sh @@ -8,6 +8,4 @@ DISABLE_AVX512=$(rustc --print target-features | grep " avx512" | export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512" -echo "Compiling with RUSTFLAGS=$RUSTFLAGS" - cargo run --release --bin aquatic_udp_load_test -- $@ diff --git a/scripts/run-load-test-ws.sh b/scripts/run-load-test-ws.sh index 1451c27..c1adfa0 100755 --- a/scripts/run-load-test-ws.sh +++ b/scripts/run-load-test-ws.sh @@ -8,6 +8,4 @@ DISABLE_AVX512=$(rustc --print target-features | grep " avx512" | export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512" -echo "Compiling with RUSTFLAGS=$RUSTFLAGS" - cargo run --release --bin aquatic_ws_load_test -- $@ \ No newline at end of file