aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-04-07 13:08:33 +0000
committerGitHub <[email protected]>2025-04-07 13:08:33 +0000
commit1eec9646371dc4571dfe841a6cbab4db9211f7bb (patch)
treeccc151d3aa089703c77099d01b8f2e6bf4da2144 /embassy-executor/src
parentcb4d8c74c2b07de7c32be588140512bdd4d3f47e (diff)
parentef8d168df6fa1d8020d7490e4469d196a35077ce (diff)
Merge pull request #4046 from outfoxxed/main-macro-executor
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