pub struct Manifest {
pub schema: u32,
pub target: String,
pub rust_triple: String,
pub rustc: String,
pub lumen_version: String,
pub driver: Driver,
pub args: Vec<LinkArg>,
pub modules: Vec<KitModule>,
pub capabilities: Vec<KitCapability>,
pub artifact: Artifact,
pub build_id: Option<String>,
}Expand description
One target’s link kit.
Fields§
§schema: u32Schema version, checked against SCHEMA_VERSION before anything
else is read.
target: StringRelease-asset target name, for example linux-x86_64.
rust_triple: StringThe Rust target triple the recorded link was for.
rustc: Stringrustc --version of the toolchain that produced the inputs, for a
report when a replay fails.
lumen_version: StringThe Lumen version the kit was built from. A kit and the app artifact it links are only one build together.
driver: DriverThe program that replays Manifest::args.
args: Vec<LinkArg>The recorded link line, one entry per argument.
modules: Vec<KitModule>Every runtime module the kit can link in.
capabilities: Vec<KitCapability>Every optional subsystem the kit can link in, and when an app gets each one.
artifact: ArtifactHow the app’s compiled artifact reaches the executable.
build_id: Option<String>The engine build the recorded inputs are, as lumen_engine_build_id
reports it. A shared-engine kit records it so a replay can check it is
relinking the engine the rest of the toolchain was built against;
absent where the recorded binary carries no engine build id.