aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-04-08 10:05:55 +0200
committerDario Nieuwenhuis <[email protected]>2025-09-11 14:45:06 +0200
commitb1b2955b604f558d8bd2fcca07b8fd8da3e236fa (patch)
tree3844982d987f13f434599d746d578b54233279a4 /embassy-executor/src
parentb65a3a301a29c737f336ca344f671d4e9793fda8 (diff)
Switch to released version of `cordyceps`, add error if used w/o atomics
Diffstat (limited to 'embassy-executor/src')
-rw-r--r--embassy-executor/src/raw/deadline.rs3
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 @@
1use core::future::{poll_fn, Future}; 1use core::future::{poll_fn, Future};
2use core::task::Poll; 2use core::task::Poll;
3 3
4#[cfg(not(target_has_atomic = "ptr"))]
5compile_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