bootstrap/core/config/toml/gcc.rs
1//! This module defines the `Gcc` struct, which represents the `[gcc]` table
2//! in the `bootstrap.toml` configuration file.
3//!
4//! The `[gcc]` table contains options specifically related to building or
5//! acquiring the GCC compiler for use within the Rust build process.
6
7use serde::{Deserialize, Deserializer};
8
9use crate::core::config::Merge;
10use crate::core::config::toml::ReplaceOpt;
11use crate::{HashSet, PathBuf, define_config, exit};
12
13define_config! {
14 /// TOML representation of how the GCC build is configured.
15 #[derive(Default)]
16 struct Gcc {
17 download_ci_gcc: Option<bool> = "download-ci-gcc",
18 }
19}