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 e1faf12 commit dd417ecCopy full SHA for dd417ec
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