We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Config::get_builder_toml
1 parent 07177ba commit 36588d2Copy full SHA for 36588d2
src/bootstrap/src/core/config/config.rs
@@ -1212,6 +1212,10 @@ impl Config {
1212
}
1213
1214
pub(crate) fn get_builder_toml(&self, build_name: &str) -> Result<TomlConfig, toml::de::Error> {
1215
+ if self.dry_run() {
1216
+ return Ok(TomlConfig::default());
1217
+ }
1218
+
1219
let builder_config_path =
1220
self.out.join(self.build.triple).join(build_name).join(BUILDER_CONFIG_FILENAME);
1221
Self::get_toml(&builder_config_path)
0 commit comments