aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
authoroutfoxxed <[email protected]>2025-04-04 01:33:51 -0700
committeroutfoxxed <[email protected]>2025-04-06 18:52:32 -0700
commitef8d168df6fa1d8020d7490e4469d196a35077ce (patch)
treec4edd4bebd6bae564006bfa45dbeacb2071fa533 /embassy-executor/src
parenta44abaf7e4562fa5393087fd845bf0d02141325b (diff)
executor: add executor selection to #[embassy_executor::main]
Diffstat (limited to 'embassy-executor/src')
-rw-r--r--embassy-executor/src/lib.rs2
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.
46pub use arch::*; 46pub use arch::*;
47#[cfg(not(feature = "_arch"))]
48pub use embassy_executor_macros::main_unspecified as main;
47 49
48pub mod raw; 50pub mod raw;
49 51