Skip to content

Commit f43907d

Browse files
authored
Unrolled build for #148644
Rollup merge of #148644 - GuillaumeGomez:error-index-index-open, r=Kobzol [bootstrap] Make `--open` option work with `doc src/tools/error_index_generator` Fixes #148557.
2 parents acda5e9 + fdced17 commit f43907d

File tree

1 file changed

+4
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+4
-1
lines changed

src/bootstrap/src/core/build_steps/doc.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,9 +1228,12 @@ impl Step for ErrorIndex {
12281228
t!(fs::create_dir_all(&out));
12291229
tool::ErrorIndex::command(builder, self.compilers)
12301230
.arg("html")
1231-
.arg(out)
1231+
.arg(&out)
12321232
.arg(&builder.version)
12331233
.run(builder);
1234+
1235+
let index = out.join("error-index.html");
1236+
builder.maybe_open_in_browser::<Self>(index);
12341237
}
12351238

12361239
fn metadata(&self) -> Option<StepMetadata> {

0 commit comments

Comments
 (0)