Merge pull request #4046 from outfoxxed/main-macro-executor

executor: add executor selection to #[embassy_executor::main]
This commit is contained in:
Dario Nieuwenhuis
2025-04-07 13:08:33 +00:00
committed by GitHub
3 changed files with 69 additions and 5 deletions

View File

@@ -44,6 +44,8 @@ mod arch;
#[cfg(feature = "_arch")]
#[allow(unused_imports)] // don't warn if the module is empty.
pub use arch::*;
#[cfg(not(feature = "_arch"))]
pub use embassy_executor_macros::main_unspecified as main;
pub mod raw;