diff options
Diffstat (limited to 'embassy-executor/src')
| -rw-r--r-- | embassy-executor/src/arch/riscv32.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-executor/src/arch/riscv32.rs b/embassy-executor/src/arch/riscv32.rs index f66daeae4..ff7ec1575 100644 --- a/embassy-executor/src/arch/riscv32.rs +++ b/embassy-executor/src/arch/riscv32.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::{Pender, PenderInner}; | 14 | use crate::raw::{Pender, PenderInner}; |
| 12 | use crate::{raw, Spawner}; | 15 | use crate::{raw, Spawner}; |
| 13 | 16 | ||
