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)