Skip to main content

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 numbers;
11mod promotion;
12mod selection;
13
14pub use base::{Diagnostics, Env};
15pub use core::{Capabilities, Cx};
16
17#[cfg(test)]
18mod test_support;
19#[cfg(test)]
20mod tests;