diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-11-24 19:05:31 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-11-24 23:52:09 +0100 |
| commit | 259cf6192b920dff4cce0486488d929bf4e05b96 (patch) | |
| tree | 3e587f4d409408ef954fdfce79f11258581bf75f /embassy-executor/src | |
| parent | e8ff5a2baf217ac7e52f119c0d17a9826ad60067 (diff) | |
executor: Remove non-functional rtos-trace-interrupt.
Diffstat (limited to 'embassy-executor/src')
| -rw-r--r-- | embassy-executor/src/lib.rs | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/embassy-executor/src/lib.rs b/embassy-executor/src/lib.rs index f2c86d8e6..3b61b4ba5 100644 --- a/embassy-executor/src/lib.rs +++ b/embassy-executor/src/lib.rs | |||
| @@ -44,25 +44,4 @@ pub use spawner::*; | |||
| 44 | /// Implementation details for embassy macros. | 44 | /// Implementation details for embassy macros. |
| 45 | /// Do not use. Used for macros and HALs only. Not covered by semver guarantees. | 45 | /// Do not use. Used for macros and HALs only. Not covered by semver guarantees. |
| 46 | #[doc(hidden)] | 46 | #[doc(hidden)] |
| 47 | pub mod _export { | 47 | pub mod _export {} |
| 48 | #[cfg(feature = "rtos-trace")] | ||
| 49 | pub use rtos_trace::trace; | ||
| 50 | |||
| 51 | /// Expands the given block of code when `embassy-executor` is compiled with | ||
| 52 | /// the `rtos-trace-interrupt` feature. | ||
| 53 | #[doc(hidden)] | ||
| 54 | #[macro_export] | ||
| 55 | #[cfg(feature = "rtos-trace-interrupt")] | ||
| 56 | macro_rules! rtos_trace_interrupt { | ||
| 57 | ($($tt:tt)*) => { $($tt)* }; | ||
| 58 | } | ||
| 59 | |||
| 60 | /// Does not expand the given block of code when `embassy-executor` is | ||
| 61 | /// compiled without the `rtos-trace-interrupt` feature. | ||
| 62 | #[doc(hidden)] | ||
| 63 | #[macro_export] | ||
| 64 | #[cfg(not(feature = "rtos-trace-interrupt"))] | ||
| 65 | macro_rules! rtos_trace_interrupt { | ||
| 66 | ($($tt:tt)*) => {}; | ||
| 67 | } | ||
| 68 | } | ||
