aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/src')
-rw-r--r--embassy-executor/src/lib.rs12
1 files changed, 4 insertions, 8 deletions
diff --git a/embassy-executor/src/lib.rs b/embassy-executor/src/lib.rs
index 4c7e2f4cd..8707995b4 100644
--- a/embassy-executor/src/lib.rs
+++ b/embassy-executor/src/lib.rs
@@ -46,11 +46,13 @@ cfg_if::cfg_if! {
46 } 46 }
47} 47}
48 48
49/// Implementation details for embassy macros.
50/// Do not use. Used for macros and HALs only. Not covered by semver guarantees.
49#[doc(hidden)] 51#[doc(hidden)]
50/// Implementation details for embassy macros. DO NOT USE. 52pub mod _export {
51pub mod export {
52 #[cfg(feature = "rtos-trace")] 53 #[cfg(feature = "rtos-trace")]
53 pub use rtos_trace::trace; 54 pub use rtos_trace::trace;
55 pub use static_cell::StaticCell;
54 56
55 /// Expands the given block of code when `embassy-executor` is compiled with 57 /// Expands the given block of code when `embassy-executor` is compiled with
56 /// the `rtos-trace-interrupt` feature. 58 /// the `rtos-trace-interrupt` feature.
@@ -75,9 +77,3 @@ pub mod raw;
75 77
76mod spawner; 78mod spawner;
77pub use spawner::*; 79pub use spawner::*;
78
79/// Do not use. Used for macros and HALs only. Not covered by semver guarantees.
80#[doc(hidden)]
81pub mod _export {
82 pub use static_cell::StaticCell;
83}