Next Generation WASM Microkernel Operating System
1// Copyright 2025. Jonas Kruckenberg
2//
3// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
4// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5// http://opensource.org/licenses/MIT>, at your option. This file may not be
6// copied, modified, or distributed except according to those terms.
7
8#![feature(allocator_api)]
9#![cfg_attr(not(any(test, feature = "__bench")), no_std)]
10#![feature(debug_closure_helpers)]
11#![feature(never_type)]
12
13extern crate alloc;
14
15mod error;
16pub mod executor;
17pub mod loom;
18pub mod sync;
19pub mod task;
20pub mod time;
21
22pub use error::{Closed, SpawnError};
23pub use futures::future;
24
25cfg_if::cfg_if! {
26 if #[cfg(feature = "__bench")] {
27 pub mod test_util;
28 } else
29 if #[cfg(test)] {
30 mod test_util;
31 }
32}