diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-04-03 01:11:42 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-04-03 01:11:42 +0200 |
| commit | b41ee47115509ba5ed302c684c0c36b6a3e3f76f (patch) | |
| tree | 8217426731db9ada73f1a3c6a87a872ab928e700 /embassy-executor/src | |
| parent | cd2ed065dc50e8540b17bfaecbf421679d2ab60d (diff) | |
executor: unify export mod.
Diffstat (limited to 'embassy-executor/src')
| -rw-r--r-- | embassy-executor/src/lib.rs | 12 |
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. | 52 | pub mod _export { |
| 51 | pub 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 | ||
| 76 | mod spawner; | 78 | mod spawner; |
| 77 | pub use spawner::*; | 79 | pub use spawner::*; |
| 78 | |||
| 79 | /// Do not use. Used for macros and HALs only. Not covered by semver guarantees. | ||
| 80 | #[doc(hidden)] | ||
| 81 | pub mod _export { | ||
| 82 | pub use static_cell::StaticCell; | ||
| 83 | } | ||
