Merge #1352
1352: re-export main_riscv macro as main for riscv arch. r=Dirbaio a=royb3 embassy_executor::main was missing for riscv targets. Co-authored-by: Roy Buitenhuis <roy.buitenhuis@technolution.nl>
This commit is contained in:
commit
813bba200f
@ -8,6 +8,9 @@ mod thread {
|
|||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
use core::sync::atomic::{AtomicBool, Ordering};
|
use core::sync::atomic::{AtomicBool, Ordering};
|
||||||
|
|
||||||
|
#[cfg(feature = "nightly")]
|
||||||
|
pub use embassy_macros::main_riscv as main;
|
||||||
|
|
||||||
use crate::raw::{Pender, PenderInner};
|
use crate::raw::{Pender, PenderInner};
|
||||||
use crate::{raw, Spawner};
|
use crate::{raw, Spawner};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user