Skip to content

Commit 966c700

Browse files
authored
Auto merge of #37651 - alexcrichton:fix-deps, r=alexcrichton
rustbuild: Fix dependencies of check-error-index This depends on the error index actually existing rather than just the tool to generate the error index.
2 parents 0491a23 + 860c6ab commit 966c700

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bootstrap/check.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ pub fn docs(build: &Build, compiler: &Compiler) {
242242
pub fn error_index(build: &Build, compiler: &Compiler) {
243243
println!("Testing error-index stage{}", compiler.stage);
244244

245-
let output = testdir(build, compiler.host).join("error-index.md");
245+
let dir = testdir(build, compiler.host);
246+
t!(fs::create_dir_all(&dir));
247+
let output = dir.join("error-index.md");
246248
build.run(build.tool_cmd(compiler, "error_index_generator")
247249
.arg("markdown")
248250
.arg(&output)

0 commit comments

Comments
 (0)