Skip to main content

Crate consortium_builder

Crate consortium_builder 

Source

Re-exports§

pub use progress::BuildReporter;
pub use progress::BuildStep;
pub use pipeline::PipelineConfig;
pub use pipeline::PipelineError;
pub use pipeline::PipelinePlan;
pub use pipeline::run as run_pipeline;

Modules§

pipeline
End-to-end build pipeline: Consortium.toml → dist/.
progress
Build progress reporting hooks used by the CLI.

Structs§

ApplicationBuilder
Backward-compatible builder; delegates to ApplicationCompiler.
ApplicationCompiler
Compiler for Linux applications targeting Yocto A-cores.
ApplicationConfiguration
Build parameters for a Linux application (typically targeting a Yocto A-core).
DbgConfig
Debug-ring layout injected as CONSORTIUM_DBG_* compile-time variables.
FirmwareBuilder
Backward-compatible builder; delegates to FirmwareCompiler.
FirmwareCompiler
Compiler for bare-metal Cortex-M firmware.
FirmwareConfiguration
Build parameters for bare-metal coprocessor firmware.
HmiCompiler
Compiler for the HMI frontend: runs the frontend build then verifies dist.
HmiConfiguration
Build parameters for the HMI frontend.
OpteeBuilder
Backward-compatible builder; delegates to OpteeCompiler.
OpteeCompiler
Compiler for OP-TEE Trusted Applications: builds the ELF then signs it.
OpteeConfiguration
All build + signing parameters for an OP-TEE Trusted Application.
OpteeEnvironment
Backward-compatible environment for OpteeBuilder.
SharedMemConfig
Shared-memory region layout for an IPC channel.
SystemdUnitConfig
Parameters for the application’s systemd service unit.

Enums§

ApplicationCompileError
Error type for application compilation.
CortexMcuCore
Cortex-M core a firmware crate targets; selects the Rust target triple.
FirmwareCompileError
Error type for firmware compilation.
HmiBuildCommand
How the HMI frontend is built.
HmiCompileError
Error type for HMI frontend compilation.
HmiConfig
Compile-time HMI carrier the builder injects as environment variables before invoking the application cargo build. The consuming runtime crate reads them with option_env! at compile time, so the values are on-target paths resolved beneath [profile] deploy_root — the build host never dereferences them.
OpteeCompileError
Error type for OP-TEE compilation and signing.
SystemdRestartPolicy
How systemd should restart the daemon.

Constants§

OPTEE_TARGET

Traits§

Compiler
Unified async compilation trait for firmware, application, and OP-TEE targets.

Functions§

render_systemd_unit
Renders the .service unit text for config.
write_systemd_unit
Renders config and writes it to dir/<unit_name>.service, returning the written path.