From 8beb13db2962a503cc2c6d822c1f20e3cb97a8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 18 Sep 2022 18:05:21 +0200 Subject: [PATCH] In scripts, explicitly choose what workspace member to build Otherwise, building aquatic_udp fails on other OS:es than Linux --- scripts/bench-udp-handlers.sh | 2 +- scripts/run-aquatic-http-private.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, 8 insertions(+), 8 deletions(-) diff --git a/scripts/bench-udp-handlers.sh b/scripts/bench-udp-handlers.sh index f273454..fc3dfc4 100755 --- a/scripts/bench-udp-handlers.sh +++ b/scripts/bench-udp-handlers.sh @@ -2,4 +2,4 @@ . ./scripts/env-native-cpu-without-avx-512 -cargo run --release --bin aquatic_udp_bench -- $@ \ No newline at end of file +cargo run --release -p aquatic_udp_bench -- $@ diff --git a/scripts/run-aquatic-http-private.sh b/scripts/run-aquatic-http-private.sh index 0a9ed31..9809ee8 100755 --- a/scripts/run-aquatic-http-private.sh +++ b/scripts/run-aquatic-http-private.sh @@ -2,4 +2,4 @@ . ./scripts/env-native-cpu-without-avx-512 -cargo run --profile "release-debug" --bin aquatic_http_private -- $@ +cargo run --profile "release-debug" -p aquatic_http_private -- $@ diff --git a/scripts/run-aquatic-http.sh b/scripts/run-aquatic-http.sh index e693fca..492f9be 100755 --- a/scripts/run-aquatic-http.sh +++ b/scripts/run-aquatic-http.sh @@ -2,4 +2,4 @@ . ./scripts/env-native-cpu-without-avx-512 -cargo run --profile "release-debug" --bin aquatic_http -- $@ +cargo run --profile "release-debug" -p aquatic_http -- $@ diff --git a/scripts/run-aquatic-udp.sh b/scripts/run-aquatic-udp.sh index 0814661..0007289 100755 --- a/scripts/run-aquatic-udp.sh +++ b/scripts/run-aquatic-udp.sh @@ -2,4 +2,4 @@ . ./scripts/env-native-cpu-without-avx-512 -cargo run --profile "release-debug" --bin aquatic_udp -- $@ +cargo run --profile "release-debug" -p aquatic_udp -- $@ diff --git a/scripts/run-aquatic-ws.sh b/scripts/run-aquatic-ws.sh index 297c71d..298a3d3 100755 --- a/scripts/run-aquatic-ws.sh +++ b/scripts/run-aquatic-ws.sh @@ -2,4 +2,4 @@ . ./scripts/env-native-cpu-without-avx-512 -cargo run --profile "release-debug" --bin aquatic_ws -- $@ +cargo run --profile "release-debug" -p aquatic_ws -- $@ diff --git a/scripts/run-load-test-http.sh b/scripts/run-load-test-http.sh index 58bfe4e..7a76099 100755 --- a/scripts/run-load-test-http.sh +++ b/scripts/run-load-test-http.sh @@ -2,4 +2,4 @@ . ./scripts/env-native-cpu-without-avx-512 -cargo run --profile "release-debug" --bin aquatic_http_load_test -- $@ \ No newline at end of file +cargo run --profile "release-debug" -p aquatic_http_load_test -- $@ diff --git a/scripts/run-load-test-udp.sh b/scripts/run-load-test-udp.sh index b307628..38ee3ab 100755 --- a/scripts/run-load-test-udp.sh +++ b/scripts/run-load-test-udp.sh @@ -2,4 +2,4 @@ . ./scripts/env-native-cpu-without-avx-512 -cargo run --profile "release-debug" --bin aquatic_udp_load_test -- $@ +cargo run --profile "release-debug" -p aquatic_udp_load_test -- $@ diff --git a/scripts/run-load-test-ws.sh b/scripts/run-load-test-ws.sh index 79dd720..9c86576 100755 --- a/scripts/run-load-test-ws.sh +++ b/scripts/run-load-test-ws.sh @@ -2,4 +2,4 @@ . ./scripts/env-native-cpu-without-avx-512 -cargo run --profile "release-debug" --bin aquatic_ws_load_test -- $@ \ No newline at end of file +cargo run --profile "release-debug" -p aquatic_ws_load_test -- $@