sim_kernel/env.rs
1//! The evaluation environment: [`Cx`], [`Env`], capabilities, and diagnostics.
2//!
3//! This is the context threaded through every checked call -- the registry
4//! handle, capability set, and diagnostic sink the kernel contracts operate
5//! against; libraries supply the behavior reached through it.
6
7mod base;
8mod core;
9mod fork;
10mod library_state;
11mod load_ledger;
12mod numbers;
13mod promotion;
14mod selection;
15
16pub use base::{Diagnostics, Env};
17pub use core::{Capabilities, Cx};
18
19#[cfg(test)]
20mod test_support;
21#[cfg(test)]
22mod tests;