diff options
| -rw-r--r-- | Cargo.toml | 5 | ||||
| -rwxr-xr-x | test-build.sh | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml index 3e036b610..eab6402aa 100644 --- a/Cargo.toml +++ b/Cargo.toml | |||
| @@ -9,8 +9,11 @@ members = [ | |||
| 9 | "embassy-macros", | 9 | "embassy-macros", |
| 10 | ] | 10 | ] |
| 11 | 11 | ||
| 12 | # embassy-std enables std-only features. Since Cargo resolves all features | ||
| 13 | # for all crates in the workspace together, including it would result in | ||
| 14 | # incompatible features enabled in embassy. | ||
| 12 | exclude = [ | 15 | exclude = [ |
| 13 | "third_party" | 16 | "embassy-std" |
| 14 | ] | 17 | ] |
| 15 | 18 | ||
| 16 | [profile.dev] | 19 | [profile.dev] |
diff --git a/test-build.sh b/test-build.sh index 92945457b..8af5f843c 100755 --- a/test-build.sh +++ b/test-build.sh | |||
| @@ -3,7 +3,8 @@ | |||
| 3 | set -euxo pipefail | 3 | set -euxo pipefail |
| 4 | 4 | ||
| 5 | # embassy std | 5 | # embassy std |
| 6 | #(cd embassy; cargo build --features log,std) | 6 | (cd embassy; cargo build --features log,std) |
| 7 | (cd embassy-std; cargo build) | ||
| 7 | 8 | ||
| 8 | # embassy embedded | 9 | # embassy embedded |
| 9 | (cd embassy; cargo build --target thumbv7em-none-eabi) | 10 | (cd embassy; cargo build --target thumbv7em-none-eabi) |
