diff options
| author | kennytm <kennytm@gmail.com> | 2018-07-22 22:10:20 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-07-23 01:00:09 +0800 |
| commit | de3cf0c433b7d47272909bbfb6c9cf98a982b4b7 (patch) | |
| tree | c15fd0a3c7a43382c26c994fbd72903ddb214d0f | |
| parent | aea141e72cd1f8cf246c2a97890dac1d340c021d (diff) | |
| parent | ab0092e0d4d704db70d985ffc205db04f80c2e02 (diff) | |
| download | rust-de3cf0c433b7d47272909bbfb6c9cf98a982b4b7.tar.gz rust-de3cf0c433b7d47272909bbfb6c9cf98a982b4b7.zip | |
Rollup merge of #52594 - Mark-Simulacrum:error-index-stage0, r=alexcrichton
Run the error index tool against the sysroot libdir Previously when building the error index tool in stage 0 we would attempt to use stage 0 libraries, but because it depends on rustdoc, those don't exist: rustdoc is built against stage 1 libraries. This patch aligns those two and passes the stage 1 libdir to the error index. @GuillaumeGomez discovered that this hasn't worked (presumably for a long time now, but not sure). r? @alexcrichton
| -rw-r--r-- | src/bootstrap/tool.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs index 42c65b750d3..0969e5abe07 100644 --- a/src/bootstrap/tool.rs +++ b/src/bootstrap/tool.rs @@ -275,7 +275,7 @@ pub fn prepare_tool_cargo( macro_rules! tool { ($($name:ident, $path:expr, $tool_name:expr, $mode:expr $(,llvm_tools = $llvm:expr)*;)+) => { - #[derive(Copy, Clone)] + #[derive(Copy, PartialEq, Eq, Clone)] pub enum Tool { $( $name, @@ -640,7 +640,7 @@ impl<'a> Builder<'a> { fn prepare_tool_cmd(&self, compiler: Compiler, tool: Tool, cmd: &mut Command) { let host = &compiler.host; let mut lib_paths: Vec<PathBuf> = vec