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
Buildstruct, which represents the[build]table in thebootstrap.tomlconfiguration file. - change_
id - dist
- This module defines the
Diststruct, which represents the[dist]table in thebootstrap.tomlconfiguration file. - gcc
- This module defines the
Gccstruct, which represents the[gcc]table in thebootstrap.tomlconfiguration file. - install
- This module defines the
Installstruct, which represents the[install]table in thebootstrap.tomlconfiguration file. - llvm
- This module defines the
Llvmstruct, which represents the[llvm]table in thebootstrap.tomlconfiguration file. - rust
- This module defines the
Ruststruct, which represents the[rust]table in thebootstrap.tomlconfiguration file. - target
- This module defines the structures and logic for handling target-specific configuration
within the
bootstrap.tomlfile. This allows you to customize build settings, tools, and flags for individual compilation targets.
Structs§
- Toml
Config 🔒 - Structure of the
bootstrap.tomlfile 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.