mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
Adjust scripts/run-aquatic-ws.sh now that there is no mio version
This commit is contained in:
parent
fbd3ce17b7
commit
cb563ee37e
1 changed files with 2 additions and 11 deletions
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue