diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-05-19 13:02:29 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-19 13:02:29 +0200 |
| commit | 211fdb6e84462a84a79dc758301839659ef4a7c3 (patch) | |
| tree | 4a32a341f9591a733d2903ce2946b82b7cf3db65 | |
| parent | 58723a8e76a4bc917b044951859bc3314873a7f2 (diff) | |
| parent | a8902b0592ccb60566a426a00a3bf5e8f5762382 (diff) | |
Merge pull request #192 from embassy-rs/executor-agnostic
Build with executor-agnostic in CI
| -rw-r--r-- | .github/workflows/rust.yml | 2 | ||||
| -rw-r--r-- | embassy/src/util/waker_agnostic.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 32c294b7f..bfb6aa0bb 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml | |||
| @@ -19,7 +19,7 @@ jobs: | |||
| 19 | target: thumbv7em-none-eabi | 19 | target: thumbv7em-none-eabi |
| 20 | - package: embassy | 20 | - package: embassy |
| 21 | target: thumbv7em-none-eabi | 21 | target: thumbv7em-none-eabi |
| 22 | features: log | 22 | features: log,executor-agnostic |
| 23 | - package: embassy | 23 | - package: embassy |
| 24 | target: thumbv7em-none-eabi | 24 | target: thumbv7em-none-eabi |
| 25 | features: defmt | 25 | features: defmt |
diff --git a/embassy/src/util/waker_agnostic.rs b/embassy/src/util/waker_agnostic.rs index 53f1ec135..f43cc8c33 100644 --- a/embassy/src/util/waker_agnostic.rs +++ b/embassy/src/util/waker_agnostic.rs | |||
| @@ -2,7 +2,7 @@ use core::cell::Cell; | |||
| 2 | use core::mem; | 2 | use core::mem; |
| 3 | use core::task::Waker; | 3 | use core::task::Waker; |
| 4 | 4 | ||
| 5 | use cortex_m::interrupt::Mutex; | 5 | use crate::util::CriticalSectionMutex as Mutex; |
| 6 | 6 | ||
| 7 | /// Utility struct to register and wake a waker. | 7 | /// Utility struct to register and wake a waker. |
| 8 | #[derive(Debug)] | 8 | #[derive(Debug)] |
