mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 00:02:28 +00:00
ci: add instructions to install cargo-batch if not installed.
This commit is contained in:
parent
2537fc6f4f
commit
2436335f9b
8
ci.sh
8
ci.sh
@ -2,6 +2,14 @@
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
if ! command -v cargo-batch &> /dev/null; then
|
||||
echo "cargo-batch could not be found. Install it with the following command:"
|
||||
echo ""
|
||||
echo " cargo install --git https://github.com/embassy-rs/cargo-batch cargo --bin cargo-batch --locked"
|
||||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check-cfg is stable on rustc 1.79 but not cargo 1.79.
|
||||
# however, our cargo-batch is currently based on cargo 1.80, which does support check-cfg.
|
||||
# so, force build.rs scripts to emit check-cfg commands.
|
||||
|
Loading…
Reference in New Issue
Block a user