1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! # The Twizzler Reference Runtime
//! The Reference Runtime implements the Runtime trait from twizzler-runtime-abi, and is designed to
//! be the primary, fully supported programming environment on Twizzler.
//!
//! This is a work in progress.

#![feature(core_intrinsics)]
#![feature(thread_local)]
#![feature(fmt_internals)]
#![feature(array_windows)]
#![feature(unboxed_closures)]
#![feature(allocator_api)]
#![feature(hash_extract_if)]

pub(crate) mod arch;

pub use arch::rr_upcall_entry;

mod runtime;
pub use runtime::{set_upcall_handler, CompartmentInitInfo, RuntimeThreadControl, OUR_RUNTIME};

mod error;
pub use error::*;

pub mod preinit;