Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 98b185f

Browse files
authoredJan 9, 2025
Unrolled build for rust-lang#135253
Rollup merge of rust-lang#135253 - pietroalbini:pa-revert-131365, r=Mark-Simulacrum Revert rust-lang#131365 This PR reverts rust-lang#131365, following the revert we did on the beta branches for both 1.84 and 1.85. While the PR passes CI successfully on master, as soon as we branch off beta it starts failing in the newly created beta branch. This caused the release team to revert it for both 1.84 and 1.85, and if nothing is done it would continue being reverted every cycle. `@heiseish` (PR author) feel free to submit the PR again in the future: this revert doesn't represent the release team rejecting your change, but just a (hopefully temporary!) revert to ensure future beta branches can be created without reverting it each time. When submitting the PR again, I recommend you test your changes by configuring `rust.channel` to both `nightly` and `beta` in your `config.toml`. You can see the latest failure [here](rust-lang#135163 (comment)).
2 parents a580b5c + ee2b8ee commit 98b185f

File tree

2 files changed

+5
-79
lines changed

2 files changed

+5
-79
lines changed
 

‎src/bootstrap/src/core/build_steps/dist.rs

+4-39
Original file line numberDiff line numberDiff line change
@@ -1592,15 +1592,9 @@ impl Step for Extended {
15921592
prepare("cargo");
15931593
prepare("rust-std");
15941594
prepare("rust-analysis");
1595-
1596-
for tool in &[
1597-
"clippy",
1598-
"rustfmt",
1599-
"rust-analyzer",
1600-
"rust-docs",
1601-
"miri",
1602-
"rustc-codegen-cranelift",
1603-
] {
1595+
prepare("clippy");
1596+
prepare("rust-analyzer");
1597+
for tool in &["rust-docs", "miri", "rustc-codegen-cranelift"] {
16041598
if built_tools.contains(tool) {
16051599
prepare(tool);
16061600
}
@@ -1640,8 +1634,6 @@ impl Step for Extended {
16401634
"rust-analyzer-preview".to_string()
16411635
} else if name == "clippy" {
16421636
"clippy-preview".to_string()
1643-
} else if name == "rustfmt" {
1644-
"rustfmt-preview".to_string()
16451637
} else if name == "miri" {
16461638
"miri-preview".to_string()
16471639
} else if name == "rustc-codegen-cranelift" {
@@ -1661,7 +1653,7 @@ impl Step for Extended {
16611653
prepare("cargo");
16621654
prepare("rust-analysis");
16631655
prepare("rust-std");
1664-
for tool in &["clippy", "rustfmt", "rust-analyzer", "rust-docs", "miri"] {
1656+
for tool in &["clippy", "rust-analyzer", "rust-docs", "miri"] {
16651657
if built_tools.contains(tool) {
16661658
prepare(tool);
16671659
}
@@ -1779,24 +1771,6 @@ impl Step for Extended {
17791771
.arg(etc.join("msi/remove-duplicates.xsl"))
17801772
.run(builder);
17811773
}
1782-
if built_tools.contains("rustfmt") {
1783-
command(&heat)
1784-
.current_dir(&exe)
1785-
.arg("dir")
1786-
.arg("rustfmt")
1787-
.args(heat_flags)
1788-
.arg("-cg")
1789-
.arg("RustFmtGroup")
1790-
.arg("-dr")
1791-
.arg("RustFmt")
1792-
.arg("-var")
1793-
.arg("var.RustFmtDir")
1794-
.arg("-out")
1795-
.arg(exe.join("RustFmtGroup.wxs"))
1796-
.arg("-t")
1797-
.arg(etc.join("msi/remove-duplicates.xsl"))
1798-
.run(builder);
1799-
}
18001774
if built_tools.contains("miri") {
18011775
command(&heat)
18021776
.current_dir(&exe)
@@ -1868,9 +1842,6 @@ impl Step for Extended {
18681842
if built_tools.contains("clippy") {
18691843
cmd.arg("-dClippyDir=clippy");
18701844
}
1871-
if built_tools.contains("rustfmt") {
1872-
cmd.arg("-dRustFmtDir=rustfmt");
1873-
}
18741845
if built_tools.contains("rust-docs") {
18751846
cmd.arg("-dDocsDir=rust-docs");
18761847
}
@@ -1897,9 +1868,6 @@ impl Step for Extended {
18971868
if built_tools.contains("clippy") {
18981869
candle("ClippyGroup.wxs".as_ref());
18991870
}
1900-
if built_tools.contains("rustfmt") {
1901-
candle("RustFmtGroup.wxs".as_ref());
1902-
}
19031871
if built_tools.contains("miri") {
19041872
candle("MiriGroup.wxs".as_ref());
19051873
}
@@ -1938,9 +1906,6 @@ impl Step for Extended {
19381906
if built_tools.contains("clippy") {
19391907
cmd.arg("ClippyGroup.wixobj");
19401908
}
1941-
if built_tools.contains("rustfmt") {
1942-
cmd.arg("RustFmtGroup.wixobj");
1943-
}
19441909
if built_tools.contains("miri") {
19451910
cmd.arg("MiriGroup.wixobj");
19461911
}

‎src/etc/installer/msi/rust.wxs

+1-40
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,6 @@
172172
<!-- tool-rust-docs-end -->
173173
<Directory Id="Cargo" Name="." />
174174
<Directory Id="Std" Name="." />
175-
<Directory Id="RustFmt" Name="." />
176-
<Directory Id="RustAnalyzer" Name="." />
177-
<Directory Id="Miri" Name="." />
178-
<Directory Id="Analysis" Name="." />
179-
<Directory Id="Clippy" Name="." />
180175
</Directory>
181176
</Directory>
182177

@@ -284,41 +279,7 @@
284279
<ComponentRef Id="PathEnvPerMachine" />
285280
<ComponentRef Id="PathEnvPerUser" />
286281
</Feature>
287-
<Feature Id="RustFmt"
288-
Title="Formatter for rust"
289-
Display="7"
290-
Level="1"
291-
AllowAdvertise="no">
292-
<ComponentGroupRef Id="RustFmtGroup" />
293-
</Feature>
294-
<Feature Id="Clippy"
295-
Title="Formatter and checker for rust"
296-
Display="8"
297-
Level="1"
298-
AllowAdvertise="no">
299-
<ComponentGroupRef Id="ClippyGroup" />
300-
</Feature>
301-
<Feature Id="Miri"
302-
Title="Soundness checker for rust"
303-
Display="9"
304-
Level="1"
305-
AllowAdvertise="no">
306-
<ComponentGroupRef Id="MiriGroup" />
307-
</Feature>
308-
<Feature Id="RustAnalyzer"
309-
Title="Analyzer for rust"
310-
Display="10"
311-
Level="1"
312-
AllowAdvertise="no">
313-
<ComponentGroupRef Id="RustAnalyzerGroup" />
314-
</Feature>
315-
<Feature Id="Analysis"
316-
Title="Analysis for rust"
317-
Display="11"
318-
Level="1"
319-
AllowAdvertise="no">
320-
<ComponentGroupRef Id="AnalysisGroup" />
321-
</Feature>
282+
322283
<UIRef Id="RustUI" />
323284
</Product>
324285
</Wix>

0 commit comments

Comments
 (0)
Failed to load comments.