Fixup rustbuild on #35124

This commit is contained in:
Manish Goregaokar 2016-08-27 11:33:02 +05:30
parent 2b3921e0c3
commit 668d63132e
No known key found for this signature in database
GPG Key ID: 3BBF4D3E2EF79F98
2 changed files with 2 additions and 9 deletions

View File

@ -308,10 +308,6 @@ pub fn build(&mut self) {
doc::rustbook(self, stage, target.target, "nomicon",
&doc_out);
}
DocStyle { stage } => {
doc::rustbook(self, stage, target.target, "style",
&doc_out);
}
DocStandalone { stage } => {
doc::standalone(self, stage, target.target, &doc_out);
}

View File

@ -92,7 +92,6 @@ macro_rules! targets {
(doc, Doc { stage: u32 }),
(doc_book, DocBook { stage: u32 }),
(doc_nomicon, DocNomicon { stage: u32 }),
(doc_style, DocStyle { stage: u32 }),
(doc_standalone, DocStandalone { stage: u32 }),
(doc_std, DocStd { stage: u32 }),
(doc_test, DocTest { stage: u32 }),
@ -366,8 +365,7 @@ pub fn deps(&self, build: &'a Build) -> Vec<Step<'a>> {
vec![self.libtest(compiler)]
}
Source::DocBook { stage } |
Source::DocNomicon { stage } |
Source::DocStyle { stage } => {
Source::DocNomicon { stage } => {
vec![self.target(&build.config.build).tool_rustbook(stage)]
}
Source::DocErrorIndex { stage } => {
@ -382,8 +380,7 @@ pub fn deps(&self, build: &'a Build) -> Vec<Step<'a>> {
Source::Doc { stage } => {
let mut deps = vec![
self.doc_book(stage), self.doc_nomicon(stage),
self.doc_style(stage), self.doc_standalone(stage),
self.doc_std(stage),
self.doc_standalone(stage), self.doc_std(stage),
self.doc_error_index(stage),
];