Module toml

Source
Expand description

This module defines the structures that directly mirror the bootstrap.toml file’s format. These types are used for serde deserialization.

Crucially, this module also houses the core logic for loading, parsing, and merging these raw TOML configurations from various sources (the main bootstrap.toml, included files, profile defaults, and command-line overrides). This processed TOML data then serves as an intermediate representation, which is further transformed and applied to the final Config struct.

Modules§

build
This module defines the Build struct, which represents the [build] table in the bootstrap.toml configuration file.
change_id
dist
This module defines the Dist struct, which represents the [dist] table in the bootstrap.toml configuration file.
gcc
This module defines the Gcc struct, which represents the [gcc] table in the bootstrap.toml configuration file.
install
This module defines the Install struct, which represents the [install] table in the bootstrap.toml configuration file.
llvm
This module defines the Llvm struct, which represents the [llvm] table in the bootstrap.toml configuration file.
rust
This module defines the Rust struct, which represents the [rust] table in the bootstrap.toml configuration file.
target
This module defines the structures and logic for handling target-specific configuration within the bootstrap.toml file. This allows you to customize build settings, tools, and flags for individual compilation targets.

Structs§

TomlConfig 🔒
Structure of the bootstrap.toml file that configuration is read from.

Constants§

BUILDER_CONFIG_FILENAME
This file is embedded in the overlay directory of the tarball sources. It is useful in scenarios where developers want to see how the tarball sources were generated.