re-export main_riscv macro as main for riscv arch.

This commit is contained in:
Roy Buitenhuis 2023-04-11 14:59:38 +02:00
parent f06554cf1d
commit 32836129f6

View File

@ -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};