diff options
| author | bors <bors@rust-lang.org> | 2016-11-09 01:15:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-09 01:15:20 -0800 |
| commit | 966c70085adc69eecf9c8cd1f128872e8d90614d (patch) | |
| tree | ad53f9657bc7423185c908874c4dc57d6566802d /src | |
| parent | 0491a231777735ba050c208ce621df93f863bf7c (diff) | |
| parent | 860c6ab3c19000c403584a5bf21e482b5efeab6d (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/check.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index 611630c5730..f27f9641036 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -242,7 +242,9 @@ pub fn docs(build: &Build, compiler: &Compiler) { pub fn error_index(build: &Build, compiler: &Compiler) { println!("Testing error-index stage{}", compiler.stage); - let output = testdir(build, compiler.host).join("error-index.md"); + let dir = testdir(build, compiler.host); + t!(fs::create_dir_all(&dir)); + let output = dir.join("error-index.md"); build.run(build.tool_cmd(compiler, "error_index_generator") .arg("markdown") .arg(&output) |
