]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/download.rs
Rollup merge of #104880 - krasimirgg:llvm-16-ctx, r=cuviper
[rust.git] / src / bootstrap / download.rs
index d0f389df973443346b452ddaa4415605c3efd011..430b3496d007c7b0c0cffccacd4fbcfd1b7693a3 100644 (file)
@@ -326,6 +326,8 @@ pub(crate) fn maybe_download_rustfmt(&self) -> Option<PathBuf> {
         }
 
         let filename = format!("rustfmt-{version}-{build}.tar.xz", build = host.triple);
+        // cfg(bootstrap): will need to be changed from `rustfmt-preview` to `rustfmt` the next time you run `bump-stage0`.
+        // See <https://github.com/rust-lang/rust/pull/103648>
         self.download_component(DownloadSource::Dist, filename, "rustfmt-preview", &date, "stage0");
 
         self.fix_bin_or_dylib(&bin_root.join("bin").join("rustfmt"));