From 32836129f6d0aa25f51cd60b0039072530009711 Mon Sep 17 00:00:00 2001 From: Roy Buitenhuis Date: Tue, 11 Apr 2023 14:59:38 +0200 Subject: [PATCH] re-export main_riscv macro as main for riscv arch. --- embassy-executor/src/arch/riscv32.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embassy-executor/src/arch/riscv32.rs b/embassy-executor/src/arch/riscv32.rs index f66daeae..ff7ec157 100644 --- a/embassy-executor/src/arch/riscv32.rs +++ b/embassy-executor/src/arch/riscv32.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::{Pender, PenderInner}; use crate::{raw, Spawner};