From c8a79c151ac0a4bd5a10ba47e0b487bb26110347 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 3 Feb 2021 04:30:20 +0100 Subject: [PATCH] Test embassy-std builds in CI --- Cargo.toml | 5 ++++- test-build.sh | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3e036b61..eab6402a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,11 @@ members = [ "embassy-macros", ] +# embassy-std enables std-only features. Since Cargo resolves all features +# for all crates in the workspace together, including it would result in +# incompatible features enabled in embassy. exclude = [ - "third_party" + "embassy-std" ] [profile.dev] diff --git a/test-build.sh b/test-build.sh index 92945457..8af5f843 100755 --- a/test-build.sh +++ b/test-build.sh @@ -3,7 +3,8 @@ set -euxo pipefail # embassy std -#(cd embassy; cargo build --features log,std) +(cd embassy; cargo build --features log,std) +(cd embassy-std; cargo build) # embassy embedded (cd embassy; cargo build --target thumbv7em-none-eabi)