aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/raw/deadline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/src/raw/deadline.rs')
-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