Expand description
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.
It includes:
TomlTarget: This struct directly mirrors the[target.<triple>]sections in yourbootstrap.toml. It’s used for deserializing raw TOML data for a specific target.Target: This struct represents the processed and validated configuration for a build target, which is is stored in the mainConfigstructure.Config::apply_target_config: This method processes theTomlTargetdata and applies it to the globalConfig, ensuring proper path resolution, validation, and integration with other build settings.
Structs§
- Target
- Per-target configuration stored in the global configuration structure.
- Toml
Target - TOML representation of how each build target is configured.