//! Louise runtime (`louise_rt`). //! //! Linked as a staticlib into every compiled Louise program. The C ABI is //! defined by `include/louise_rt.h` and explained in `docs/runtime-abi.md`; //! [`abi`] mirrors its layouts. //! //! **Where `unsafe` is.** A function that may dereference a context //! (`*mut Ctx`), a [`abi::Value`] or another raw pointer is `unsafe`, and //! its `# Safety` section says what the caller guarantees: usually "the //! running actor's context" and "a live string" (borrowed) or "owned". //! Functions that only allocate and fill a fresh block are safe even //! though they take a context: [`heap::tl_alloc`] never reads it (the //! runtime passes null when it builds a message outside any actor). //! //! The runtime keeps contexts as raw pointers rather than turning them into //! `&mut Ctx` at each entry point: generated C, closures and callbacks the //! runtime calls write to the same context, which a live `&mut Ctx` held //! across those calls would forbid. pub mod abi; pub mod array; pub mod blocking; pub mod builder; pub mod bytes; pub mod callback; pub mod checked; pub mod clock; pub(crate) mod console; pub mod crypto; pub mod ctx; pub mod dec; pub(crate) mod dist; pub mod effects; pub(crate) mod fiber; pub mod fs; pub mod handlers; pub(crate) mod handoff; pub mod heap; pub mod http; pub(crate) mod inbox; pub mod int; pub mod net; pub mod node; pub(crate) mod otp; pub(crate) mod park; pub mod prims; pub mod process; pub mod region; pub mod resource; pub mod sched; pub(crate) mod send; pub mod signals; #[cfg(feature = "tls")] pub(crate) mod sock; pub mod table; pub(crate) mod timers; pub mod tls; #[cfg(feature = "tls")] pub(crate) mod transport; pub mod u64; pub mod values; pub(crate) mod wire;