We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Config::get_builder_toml
1 parent 13e16a9 commit 7b8cbe4Copy full SHA for 7b8cbe4
src/bootstrap/src/core/config/config.rs
@@ -1217,6 +1217,10 @@ impl Config {
1217
}
1218
1219
pub(crate) fn get_builder_toml(&self, build_name: &str) -> Result<TomlConfig, toml::de::Error> {
1220
+ if self.dry_run() {
1221
+ return Ok(TomlConfig::default());
1222
+ }
1223
+
1224
let builder_config_path =
1225
self.out.join(self.build.triple).join(build_name).join(BUILDER_CONFIG_FILENAME);
1226
Self::get_toml(&builder_config_path)
0 commit comments