Adjust scripts/run-aquatic-ws.sh now that there is no mio version

This commit is contained in:
Joakim Frostegård 2022-03-18 15:29:08 +01:00
parent fbd3ce17b7
commit cb563ee37e

View file

@ -1,14 +1,5 @@
#!/bin/bash #!/bin/sh
. ./scripts/env-native-cpu-without-avx-512 . ./scripts/env-native-cpu-without-avx-512
if [ "$1" != "mio" ] && [ "$1" != "glommio" ]; then cargo run --release --bin aquatic_ws -- $@
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