aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2025-08-01 06:42:55 +0000
committerGitHub <[email protected]>2025-08-01 06:42:55 +0000
commitf3cb0f3c3062cd1b863414186c29b604fab305fa (patch)
treebe38ef8879e91d3a265f43fcfcf89fd83869a2a4 /embassy-executor/src
parent6409931ef972f6493e7b4d9a93c2cb7bb048d2af (diff)
parent54d9a7fed3ab211b1049aae0af0bc49f912c9df4 (diff)
Merge pull request #4443 from Brezak/task-unsafe
executor: mark unsafe tasks as unsafe
Diffstat (limited to 'embassy-executor/src')
-rw-r--r--embassy-executor/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/embassy-executor/src/lib.rs b/embassy-executor/src/lib.rs
index e174a0594..0747db032 100644
--- a/embassy-executor/src/lib.rs
+++ b/embassy-executor/src/lib.rs
@@ -216,7 +216,7 @@ pub mod _export {
216 ); 216 );
217 217
218 #[allow(dead_code)] 218 #[allow(dead_code)]
219 trait HasOutput { 219 pub trait HasOutput {
220 type Output; 220 type Output;
221 } 221 }
222 222
@@ -225,7 +225,7 @@ pub mod _export {
225 } 225 }
226 226
227 #[allow(dead_code)] 227 #[allow(dead_code)]
228 type Never = <fn() -> ! as HasOutput>::Output; 228 pub type Never = <fn() -> ! as HasOutput>::Output;
229} 229}
230 230
231/// Implementation details for embassy macros. 231/// Implementation details for embassy macros.
@@ -242,7 +242,7 @@ pub mod _export {
242 impl TaskReturnValue for Never {} 242 impl TaskReturnValue for Never {}
243 243
244 #[allow(dead_code)] 244 #[allow(dead_code)]
245 trait HasOutput { 245 pub trait HasOutput {
246 type Output; 246 type Output;
247 } 247 }
248 248
@@ -251,5 +251,5 @@ pub mod _export {
251 } 251 }
252 252
253 #[allow(dead_code)] 253 #[allow(dead_code)]
254 type Never = <fn() -> ! as HasOutput>::Output; 254 pub type Never = <fn() -> ! as HasOutput>::Output;
255} 255}