From 50a983fd9b8f10fa5153757593e9f8cfccc902ac Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 14 Nov 2023 18:45:23 +0100 Subject: [PATCH] executor: add missing `main` macro reexport on xtensa. --- embassy-executor/src/arch/xtensa.rs | 3 +++ 1 file changed, 3 insertions(+) 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 { use core::marker::PhantomData; use core::sync::atomic::{AtomicBool, Ordering}; + #[cfg(feature = "nightly")] + pub use embassy_macros::main_riscv as main; + use crate::{raw, Spawner}; /// global atomic used to keep track of whether there is work to do since sev() is not available on Xtensa