diff --git a/scripts/run-aquatic-ws.sh b/scripts/run-aquatic-ws.sh index 5aadff6..40be253 100755 --- a/scripts/run-aquatic-ws.sh +++ b/scripts/run-aquatic-ws.sh @@ -1,14 +1,5 @@ -#!/bin/bash +#!/bin/sh . ./scripts/env-native-cpu-without-avx-512 -if [ "$1" != "mio" ] && [ "$1" != "glommio" ]; then - echo "Usage: $0 [mio|glommio] [ARGS]" -else - if [ "$1" = "mio" ]; then - cargo run --release --bin aquatic_ws -- "${@:2}" - else - cargo run --release --features "with-glommio" --no-default-features --bin aquatic_ws -- "${@:2}" - fi -fi - +cargo run --release --bin aquatic_ws -- $@