mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
improvement: add rustup command check and suggests installing it if its required
This commit is contained in:
parent
dbd1b6b46d
commit
28d2eab949
@ -36,6 +36,18 @@ else
|
|||||||
echo "LLVM/clang found."
|
echo "LLVM/clang found."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! rustup -V &> /dev/null
|
||||||
|
then
|
||||||
|
echo "rustup is not installed."
|
||||||
|
echo "Visit https://rustup.rs and install Rust from there"
|
||||||
|
echo "Usually, you can copy the following and follow the on-screen instructions."
|
||||||
|
echo "Please don't install Rust as root."
|
||||||
|
echo "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "rustup found."
|
||||||
|
fi
|
||||||
|
|
||||||
# To enable heavy debug mode (slow)
|
# To enable heavy debug mode (slow)
|
||||||
#BUILD_FLAGS=""
|
#BUILD_FLAGS=""
|
||||||
#TARGET=debug
|
#TARGET=debug
|
||||||
|
Loading…
Reference in New Issue
Block a user