Skip to content

Commit 00dfc32

Browse files
authored
Rollup merge of #102175 - oli-obk:miri_subtree_cleanup, r=jyn514
Also require other subtrees to always build successfully r? ``@jyn514``
2 parents a842357 + 7ed999b commit 00dfc32

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

src/bootstrap/dist.rs

+22-22
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ impl Step for Extended {
14241424

14251425
let xform = |p: &Path| {
14261426
let mut contents = t!(fs::read_to_string(p));
1427-
for tool in &["rust-demangler", "rust-analyzer", "rustfmt"] {
1427+
for tool in &["rust-demangler"] {
14281428
if !built_tools.contains(tool) {
14291429
contents = filter(&contents, tool);
14301430
}
@@ -1465,7 +1465,8 @@ impl Step for Extended {
14651465
prepare("rust-analysis");
14661466
prepare("clippy");
14671467
prepare("miri");
1468-
for tool in &["rust-docs", "rust-demangler", "rust-analyzer"] {
1468+
prepare("rust-analyzer");
1469+
for tool in &["rust-docs", "rust-demangler"] {
14691470
if built_tools.contains(tool) {
14701471
prepare(tool);
14711472
}
@@ -1525,7 +1526,8 @@ impl Step for Extended {
15251526
prepare("rust-std");
15261527
prepare("clippy");
15271528
prepare("miri");
1528-
for tool in &["rust-demangler", "rust-analyzer"] {
1529+
prepare("rust-analyzer");
1530+
for tool in &["rust-demangler"] {
15291531
if built_tools.contains(tool) {
15301532
prepare(tool);
15311533
}
@@ -1609,25 +1611,23 @@ impl Step for Extended {
16091611
.arg("-out")
16101612
.arg(exe.join("StdGroup.wxs")),
16111613
);
1612-
if built_tools.contains("rust-analyzer") {
1613-
builder.run(
1614-
Command::new(&heat)
1615-
.current_dir(&exe)
1616-
.arg("dir")
1617-
.arg("rust-analyzer")
1618-
.args(&heat_flags)
1619-
.arg("-cg")
1620-
.arg("RustAnalyzerGroup")
1621-
.arg("-dr")
1622-
.arg("RustAnalyzer")
1623-
.arg("-var")
1624-
.arg("var.RustAnalyzerDir")
1625-
.arg("-out")
1626-
.arg(exe.join("RustAnalyzerGroup.wxs"))
1627-
.arg("-t")
1628-
.arg(etc.join("msi/remove-duplicates.xsl")),
1629-
);
1630-
}
1614+
builder.run(
1615+
Command::new(&heat)
1616+
.current_dir(&exe)
1617+
.arg("dir")
1618+
.arg("rust-analyzer")
1619+
.args(&heat_flags)
1620+
.arg("-cg")
1621+
.arg("RustAnalyzerGroup")
1622+
.arg("-dr")
1623+
.arg("RustAnalyzer")
1624+
.arg("-var")
1625+
.arg("var.RustAnalyzerDir")
1626+
.arg("-out")
1627+
.arg(exe.join("RustAnalyzerGroup.wxs"))
1628+
.arg("-t")
1629+
.arg(etc.join("msi/remove-duplicates.xsl")),
1630+
);
16311631
builder.run(
16321632
Command::new(&heat)
16331633
.current_dir(&exe)

0 commit comments

Comments
 (0)