We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2aef58 + cd3d4fc commit 24d907aCopy full SHA for 24d907a
src/bootstrap/config.rs
@@ -1315,15 +1315,6 @@ impl Config {
1315
} else {
1316
RustfmtState::Unavailable
1317
};
1318
- } else {
1319
- // If using a system toolchain for bootstrapping, see if that has rustfmt available.
1320
- let host = config.build;
1321
- let rustfmt_path = config.initial_rustc.with_file_name(exe("rustfmt", host));
1322
- let bin_root = config.out.join(host.triple).join("stage0");
1323
- if !rustfmt_path.starts_with(&bin_root) {
1324
- // Using a system-provided toolchain; we shouldn't download rustfmt.
1325
- *config.initial_rustfmt.borrow_mut() = RustfmtState::SystemToolchain(rustfmt_path);
1326
- }
1327
}
1328
1329
// Now that we've reached the end of our configuration, infer the
0 commit comments