Crate fel4_config

source ·

Structs

Fel4 configuration for a particular target, platform, and build profile tuple resolved from a FullFel4Target
A single toml key-value pair where the value only includes non-nestable structures
The full content of a fel4 manifest
The full content of a target within a fel4 manifest

Enums

All the things that could go wrong when reading fel4 configuration data
A subset of toml::Value that only includes non-nestable structures
Things that can go wrong when trying to rely on environment variables to locate the fel4 manifest and its parameterization.

Functions

Configure a seL4_kernel CMake build configuration with data derived from the fel4.toml manifest
Configure a seL4_kernel CMake build configuration with data derived from the fel4.toml manifest and choice environment variables.
Check an iterator to see if any of its contents are not found in the whitelist of allowed properties. Returns Ok(()) if everything in the iterator is on the whitelist. If a string is found to be not on the whitelist, it is returned as the data in the Err()
Convenience function for getting a quick-working fel4.toml example
Load, parse, and resolve a Fel4Config
Retrieve the complete contents of the fel4 toml from a file
Read environment variables to discover the information necessary to read and resolve a Fel4Config
Returns true if the target and platform are supported to work together Returns false if the pairing is nonsenical or not supported
Retrieve the complete contents of the fel4 toml from a string
Resolve and validate a particular Fel4 configuration for the given BuildProfile and the selected_target and selected_platform found in the FullFel4Manifest
Parse the complete contents of the fel4 toml