summaryrefslogtreecommitdiff
path: root/ci.sh
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2021-12-07 00:27:37 +0100
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2021-12-07 00:27:37 +0100
commit693690cb5abf5855d190e58142e2b5f7dd63f2bb (patch)
tree8ac2ddc59f4f7da7f82c36405f5a4e9168bc3f75 /ci.sh
parentdd32358d6bb24895c833bc4c34fd96e7632e43a9 (diff)
downloadembassy-693690cb5abf5855d190e58142e2b5f7dd63f2bb.zip
Uncomment accidentally commented ci stuff.
Diffstat (limited to 'ci.sh')
-rwxr-xr-xci.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/ci.sh b/ci.sh
index 613210b3..e6a882da 100755
--- a/ci.sh
+++ b/ci.sh
@@ -6,14 +6,14 @@ export CARGO_TARGET_DIR=$PWD/target_ci
export RUSTFLAGS=-Dwarnings
export DEFMT_LOG=trace
-#find . -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018
+find . -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018
# Generate stm32-metapac
# for some reason Cargo stomps the cache if we don't specify --target.
# This happens with vanilla Cargo, not just cargo-batch. Bug?
-#(cd stm32-metapac-gen; cargo run --release --target x86_64-unknown-linux-gnu)
-#rm -rf stm32-metapac
-#mv stm32-metapac-gen/out stm32-metapac
+(cd stm32-metapac-gen; cargo run --release --target x86_64-unknown-linux-gnu)
+rm -rf stm32-metapac
+mv stm32-metapac-gen/out stm32-metapac
cargo batch \
--- build --release --manifest-path embassy/Cargo.toml --target thumbv7em-none-eabi \