executor: add support for main/task macros in stable (allocates tasks in an arena)

This commit is contained in:
Dario Nieuwenhuis
2023-11-24 21:37:27 +01:00
parent 1fbc150fd6
commit 171cdb94c7
10 changed files with 105 additions and 10 deletions

View File

@ -8,7 +8,6 @@ mod thread {
use core::marker::PhantomData;
#[cfg(feature = "nightly")]
pub use embassy_macros::main_wasm as main;
use js_sys::Promise;
use wasm_bindgen::prelude::*;