baryl 0.0.3

Public SDK for Baryl, a full-system emulation and introspection engine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The raw host↔runtime C surface.
//!
//! [`crate::Baryl`] is the safe wrapper over all of this and is what a runner
//! should use. What is worth naming from here is the ABI revision pair,
//! `BARYL_ABI_VERSION` and `BARYL_MIN_ABI_VERSION`: the window of runtimes this
//! build can load, which the loader checks before the first call crosses.

// Bindgen output cannot satisfy the workspace lints; the allow stops here.
// `BarylExitKind`'s variants render as `BarylExitKind_BARYL_EXIT_*`, which is
// why the safe wrapper in `crate::run` names its own constants over these.
mod generated {
    #![allow(non_camel_case_types, non_upper_case_globals, dead_code)]
    include!("generated.rs");
}
pub use generated::*;