diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-04-07 13:08:33 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-07 13:08:33 +0000 |
| commit | 1eec9646371dc4571dfe841a6cbab4db9211f7bb (patch) | |
| tree | ccc151d3aa089703c77099d01b8f2e6bf4da2144 /embassy-executor | |
| parent | cb4d8c74c2b07de7c32be588140512bdd4d3f47e (diff) | |
| parent | ef8d168df6fa1d8020d7490e4469d196a35077ce (diff) | |
Merge pull request #4046 from outfoxxed/main-macro-executor
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 | ||
