X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fdownload.rs;h=430b3496d007c7b0c0cffccacd4fbcfd1b7693a3;hb=0f28e403d4464884849efb406824f3fd87f24158;hp=d0f389df973443346b452ddaa4415605c3efd011;hpb=e69b84204aecf27fe18ada467f78c83b788b80e4;p=rust.git diff --git a/src/bootstrap/download.rs b/src/bootstrap/download.rs index d0f389df973..430b3496d00 100644 --- a/src/bootstrap/download.rs +++ b/src/bootstrap/download.rs @@ -326,6 +326,8 @@ pub(crate) fn maybe_download_rustfmt(&self) -> Option { } 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 self.download_component(DownloadSource::Dist, filename, "rustfmt-preview", &date, "stage0"); self.fix_bin_or_dylib(&bin_root.join("bin").join("rustfmt"));