Skip to content

Commit 7ed999b

Browse files
committed
Also require other subtrees to always build successfully
1 parent 8ab71ab commit 7ed999b

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
@@ -1430,7 +1430,7 @@ impl Step for Extended {
14301430

14311431
let xform = |p: &Path| {
14321432
let mut contents = t!(fs::read_to_string(p));
1433-
for tool in &["rust-demangler", "rust-analyzer", "rustfmt"] {
1433+
for tool in &["rust-demangler"] {
14341434
if !built_tools.contains(tool) {
14351435
contents = filter(&contents, tool);
14361436
}
@@ -1471,7 +1471,8 @@ impl Step for Extended {
14711471
prepare("rust-analysis");
14721472
prepare("clippy");
14731473
prepare("miri");
1474-
for tool in &["rust-docs", "rust-demangler", "rust-analyzer"] {
1474+
prepare("rust-analyzer");
1475+
for tool in &["rust-docs", "rust-demangler"] {
14751476
if built_tools.contains(tool) {
14761477
prepare(tool);
14771478
}
@@ -1531,7 +1532,8 @@ impl Step for Extended {
15311532
prepare("rust-std");
15321533
prepare("clippy");
15331534
prepare("miri");
1534-
for tool in &["rust-demangler", "rust-analyzer"] {
1535+
prepare("rust-analyzer");
1536+
for tool in &["rust-demangler"] {
15351537
if built_tools.contains(tool) {
15361538
prepare(tool);
15371539
}
@@ -1615,25 +1617,23 @@ impl Step for Extended {
16151617
.arg("-out")
16161618
.arg(exe.join("StdGroup.wxs")),
16171619
);
1618-
if built_tools.contains("rust-analyzer") {
1619-
builder.run(
1620-
Command::new(&heat)
1621-
.current_dir(&exe)
1622-
.arg("dir")
1623-
.arg("rust-analyzer")
1624-
.args(&heat_flags)
1625-
.arg("-cg")
1626-
.arg("RustAnalyzerGroup")
1627-
.arg("-dr")
1628-
.arg("RustAnalyzer")
1629-
.arg("-var")
1630-
.arg("var.RustAnalyzerDir")
1631-
.arg("-out")
1632-
.arg(exe.join("RustAnalyzerGroup.wxs"))
1633-
.arg("-t")
1634-
.arg(etc.join("msi/remove-duplicates.xsl")),
1635-
);
1636-
}
1620+
builder.run(
1621+
Command::new(&heat)
1622+
.current_dir(&exe)
1623+
.arg("dir")
1624+
.arg("rust-analyzer")
1625+
.args(&heat_flags)
1626+
.arg("-cg")
1627+
.arg("RustAnalyzerGroup")
1628+
.arg("-dr")
1629+
.arg("RustAnalyzer")
1630+
.arg("-var")
1631+
.arg("var.RustAnalyzerDir")
1632+
.arg("-out")
1633+
.arg(exe.join("RustAnalyzerGroup.wxs"))
1634+
.arg("-t")
1635+
.arg(etc.join("msi/remove-duplicates.xsl")),
1636+
);
16371637
builder.run(
16381638
Command::new(&heat)
16391639
.current_dir(&exe)

0 commit comments

Comments
 (0)