@@ -53,11 +53,19 @@ macro_rules! targets {
53
53
// with braces are unstable so we just pick something that works.
54
54
( llvm, Llvm { _dummy: ( ) } ) ,
55
55
( compiler_rt, CompilerRt { _dummy: ( ) } ) ,
56
+
57
+ // Steps for various pieces of documentation that we can generate,
58
+ // the 'doc' step is just a pseudo target to depend on a bunch of
59
+ // others.
56
60
( doc, Doc { stage: u32 } ) ,
57
61
( doc_book, DocBook { stage: u32 } ) ,
58
62
( doc_nomicon, DocNomicon { stage: u32 } ) ,
59
63
( doc_style, DocStyle { stage: u32 } ) ,
60
64
( doc_standalone, DocStandalone { stage: u32 } ) ,
65
+
66
+ // Steps for running tests. The 'check' target is just a pseudo
67
+ // target to depend on a bunch of others.
68
+ ( check, Check { stage: u32 , compiler: Compiler <' a> } ) ,
61
69
}
62
70
}
63
71
}
@@ -175,6 +183,7 @@ fn add_steps<'a>(build: &'a Build,
175
183
"doc-nomicon" => targets. push ( host. doc_nomicon ( stage) ) ,
176
184
"doc-book" => targets. push ( host. doc_book ( stage) ) ,
177
185
"doc" => targets. push ( host. doc ( stage) ) ,
186
+ "check" => targets. push ( host. check ( stage, compiler) ) ,
178
187
_ => panic ! ( "unknown build target: `{}`" , step) ,
179
188
}
180
189
}
@@ -240,6 +249,9 @@ impl<'a> Step<'a> {
240
249
vec ! [ self . doc_book( stage) , self . doc_nomicon( stage) ,
241
250
self . doc_style( stage) , self . doc_standalone( stage) ]
242
251
}
252
+ Source :: Check { stage, compiler : _ } => {
253
+ vec ! [ ]
254
+ }
243
255
}
244
256
}
245
257
}
0 commit comments