aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/raw/mod.rs
diff options
context:
space:
mode:
authorDániel Buga <[email protected]>2023-08-14 15:45:43 +0200
committerDániel Buga <[email protected]>2023-08-14 15:45:43 +0200
commit3a51e2d9cae6fad2fd903c07634b4a66de59b3bf (patch)
tree981fa7e2133aee52ef41d489a74053d78e628547 /embassy-executor/src/raw/mod.rs
parent986a63ebb8611a4dc7c6b14e03146286942ec8e7 (diff)
Make PenderContext actually pointer-size
Diffstat (limited to 'embassy-executor/src/raw/mod.rs')
-rw-r--r--embassy-executor/src/raw/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs
index 4a6e45535..2bbbb132c 100644
--- a/embassy-executor/src/raw/mod.rs
+++ b/embassy-executor/src/raw/mod.rs
@@ -294,7 +294,7 @@ impl<F: Future + 'static, const N: usize> TaskPool<F, N> {
294/// Context given to the thread-mode executor's pender. 294/// Context given to the thread-mode executor's pender.
295#[repr(transparent)] 295#[repr(transparent)]
296#[derive(Clone, Copy)] 296#[derive(Clone, Copy)]
297pub struct PenderContext(usize); 297pub struct PenderContext(*mut ());
298 298
299/// Platform/architecture-specific action executed when an executor has pending work. 299/// Platform/architecture-specific action executed when an executor has pending work.
300/// 300///