diff options
| author | outfoxxed <[email protected]> | 2025-04-04 01:33:51 -0700 |
|---|---|---|
| committer | outfoxxed <[email protected]> | 2025-04-06 18:52:32 -0700 |
| commit | ef8d168df6fa1d8020d7490e4469d196a35077ce (patch) | |
| tree | c4edd4bebd6bae564006bfa45dbeacb2071fa533 /embassy-executor | |
| parent | a44abaf7e4562fa5393087fd845bf0d02141325b (diff) | |
executor: add executor selection to #[embassy_executor::main]
Diffstat (limited to 'embassy-executor')
| -rw-r--r-- | embassy-executor/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-executor/src/lib.rs b/embassy-executor/src/lib.rs index d6bd63665..d6fd3d651 100644 --- a/embassy-executor/src/lib.rs +++ b/embassy-executor/src/lib.rs | |||
| @@ -44,6 +44,8 @@ mod arch; | |||
| 44 | #[cfg(feature = "_arch")] | 44 | #[cfg(feature = "_arch")] |
| 45 | #[allow(unused_imports)] // don't warn if the module is empty. | 45 | #[allow(unused_imports)] // don't warn if the module is empty. |
| 46 | pub use arch::*; | 46 | pub use arch::*; |
| 47 | #[cfg(not(feature = "_arch"))] | ||
| 48 | pub use embassy_executor_macros::main_unspecified as main; | ||
| 47 | 49 | ||
| 48 | pub mod raw; | 50 | pub mod raw; |
| 49 | 51 | ||
