aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/raw
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/src/raw')
-rw-r--r--embassy-executor/src/raw/mod.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs
index 7fd29db40..7795f1e4a 100644
--- a/embassy-executor/src/raw/mod.rs
+++ b/embassy-executor/src/raw/mod.rs
@@ -292,13 +292,6 @@ impl<F: Future + 'static, const N: usize> TaskPool<F, N> {
292} 292}
293 293
294/// Context given to the thread-mode executor's pender. 294/// Context given to the thread-mode executor's pender.
295#[cfg(all(feature = "executor-thread", not(feature = "thread-context")))]
296#[derive(Clone, Copy)]
297#[repr(transparent)]
298pub struct OpaqueThreadContext(pub(crate) ());
299
300/// Context given to the thread-mode executor's pender.
301#[cfg(all(feature = "executor-thread", feature = "thread-context"))]
302#[repr(transparent)] 295#[repr(transparent)]
303#[derive(Clone, Copy)] 296#[derive(Clone, Copy)]
304pub struct OpaqueThreadContext(pub(crate) usize); 297pub struct OpaqueThreadContext(pub(crate) usize);