aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor')
-rw-r--r--embassy-executor/src/arch/xtensa.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-executor/src/arch/xtensa.rs b/embassy-executor/src/arch/xtensa.rs
index 601d85002..d335594e2 100644
--- a/embassy-executor/src/arch/xtensa.rs
+++ b/embassy-executor/src/arch/xtensa.rs
@@ -8,6 +8,9 @@ mod thread {
8 use core::marker::PhantomData; 8 use core::marker::PhantomData;
9 use core::sync::atomic::{AtomicBool, Ordering}; 9 use core::sync::atomic::{AtomicBool, Ordering};
10 10
11 #[cfg(feature = "nightly")]
12 pub use embassy_macros::main_riscv as main;
13
11 use crate::{raw, Spawner}; 14 use crate::{raw, Spawner};
12 15
13 /// global atomic used to keep track of whether there is work to do since sev() is not available on Xtensa 16 /// global atomic used to keep track of whether there is work to do since sev() is not available on Xtensa