diff options
| author | James Munns <[email protected]> | 2025-04-08 10:05:55 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-09-11 14:45:06 +0200 |
| commit | b1b2955b604f558d8bd2fcca07b8fd8da3e236fa (patch) | |
| tree | 3844982d987f13f434599d746d578b54233279a4 /embassy-executor/src/raw/deadline.rs | |
| parent | b65a3a301a29c737f336ca344f671d4e9793fda8 (diff) | |
Switch to released version of `cordyceps`, add error if used w/o atomics
Diffstat (limited to 'embassy-executor/src/raw/deadline.rs')
| -rw-r--r-- | embassy-executor/src/raw/deadline.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-executor/src/raw/deadline.rs b/embassy-executor/src/raw/deadline.rs index 0b88ee2d6..da07d1aac 100644 --- a/embassy-executor/src/raw/deadline.rs +++ b/embassy-executor/src/raw/deadline.rs | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | use core::future::{poll_fn, Future}; | 1 | use core::future::{poll_fn, Future}; |
| 2 | use core::task::Poll; | 2 | use core::task::Poll; |
| 3 | 3 | ||
| 4 | #[cfg(not(target_has_atomic = "ptr"))] | ||
| 5 | compile_error!("The `drs-scheduler` feature is currently only supported on targets with atomics."); | ||
| 6 | |||
| 4 | /// A type for interacting with the deadline of the current task | 7 | /// A type for interacting with the deadline of the current task |
| 5 | /// | 8 | /// |
| 6 | /// Requires the `drs-scheduler` feature | 9 | /// Requires the `drs-scheduler` feature |
