aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
diff options
context:
space:
mode:
authorRoy Buitenhuis <[email protected]>2023-04-11 14:59:38 +0200
committerRoy Buitenhuis <[email protected]>2023-04-11 14:59:38 +0200
commit32836129f6d0aa25f51cd60b0039072530009711 (patch)
tree48b6f6a0922f69600d8e65fb20beaecbf674673a /embassy-executor
parentf06554cf1de9b7288588a6c8baed39b92ce9c269 (diff)
re-export main_riscv macro as main for riscv arch.
Diffstat (limited to 'embassy-executor')
-rw-r--r--embassy-executor/src/arch/riscv32.rs3
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