executor: add executor selection to #[embassy_executor::main]

This commit is contained in:
outfoxxed
2025-04-04 01:33:51 -07:00
parent a44abaf7e4
commit ef8d168df6
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;