1+ #![ allow( unused) ]
2+
13use std:: any:: Any ;
24use std:: cell:: { Cell , RefCell } ;
35use std:: collections:: BTreeSet ;
@@ -326,120 +328,22 @@ pub enum Kind {
326328impl < ' a > Builder < ' a > {
327329 fn get_step_descriptions ( kind : Kind ) -> Vec < StepDescription > {
328330 macro_rules! describe {
329- ( $( $rule: ty) ,+ $( , ) ?) => { {
330- vec![ $( StepDescription :: from:: <$rule>( ) ) ,+ ]
331+ ( $( $rule: ty) ,* $( , ) ?) => { {
332+ vec![ $( StepDescription :: from:: <$rule>( ) ) ,* ]
331333 } } ;
332334 }
333335 match kind {
334336 Kind :: Build => describe ! (
335- compile:: Std ,
336- compile:: Test ,
337- compile:: Rustc ,
338- compile:: CodegenBackend ,
339- compile:: StartupObjects ,
340- tool:: BuildManifest ,
341- tool:: Rustbook ,
342- tool:: ErrorIndex ,
343- tool:: UnstableBookGen ,
344- tool:: Tidy ,
345- tool:: Linkchecker ,
346- tool:: CargoTest ,
347- tool:: Compiletest ,
348- tool:: RemoteTestServer ,
349- tool:: RemoteTestClient ,
350- tool:: RustInstaller ,
351- tool:: Cargo ,
352- tool:: Rls ,
353- tool:: Rustdoc ,
354- tool:: Clippy ,
355- native:: Llvm ,
356- tool:: Rustfmt ,
357- tool:: Miri ,
358- native:: Lld
359337 ) ,
360338 Kind :: Check => describe ! (
361- check:: Std ,
362- check:: Test ,
363- check:: Rustc ,
364- check:: CodegenBackend ,
365- check:: Rustdoc
366339 ) ,
367340 Kind :: Test => describe ! (
368- test:: Tidy ,
369- test:: Ui ,
370- test:: RunPass ,
371- test:: CompileFail ,
372- test:: RunFail ,
373- test:: RunPassValgrind ,
374- test:: MirOpt ,
375- test:: Codegen ,
376- test:: CodegenUnits ,
377- test:: Assembly ,
378- test:: Incremental ,
379- test:: Debuginfo ,
380- test:: UiFullDeps ,
381- test:: RunPassFullDeps ,
382- test:: Rustdoc ,
383- test:: Pretty ,
384- test:: RunPassPretty ,
385- test:: RunFailPretty ,
386- test:: RunPassValgrindPretty ,
387- test:: Crate ,
388- test:: CrateLibrustc ,
389- test:: CrateRustdoc ,
390- test:: Linkcheck ,
391- test:: Cargotest ,
392- test:: Cargo ,
393- test:: Rls ,
394- test:: ErrorIndex ,
395- test:: Distcheck ,
396- test:: RunMakeFullDeps ,
397- test:: Nomicon ,
398- test:: Reference ,
399- test:: RustdocBook ,
400- test:: RustByExample ,
401- test:: TheBook ,
402- test:: UnstableBook ,
403- test:: RustcBook ,
404- test:: EmbeddedBook ,
405- test:: EditionGuide ,
406- test:: Rustfmt ,
407- test:: Miri ,
408- test:: Clippy ,
409- test:: CompiletestTest ,
410- test:: RustdocJSStd ,
411- test:: RustdocJSNotStd ,
412- test:: RustdocTheme ,
413- test:: RustdocUi ,
414- // Run bootstrap close to the end as it's unlikely to fail
415- test:: Bootstrap ,
416- // Run run-make last, since these won't pass without make on Windows
417- test:: RunMake ,
418341 ) ,
419- Kind :: Bench => describe ! ( test:: Crate , test:: CrateLibrustc ) ,
342+ Kind :: Bench => describe ! (
343+ ) ,
420344 Kind :: Doc => describe ! (
421- doc:: UnstableBook ,
422- doc:: UnstableBookGen ,
423- doc:: TheBook ,
424- doc:: Standalone ,
425- doc:: Std ,
426- doc:: Test ,
427- doc:: WhitelistedRustc ,
428- doc:: Rustc ,
429- doc:: Rustdoc ,
430- doc:: ErrorIndex ,
431- doc:: Nomicon ,
432- doc:: Reference ,
433- doc:: RustdocBook ,
434- doc:: RustByExample ,
435- doc:: RustcBook ,
436- doc:: CargoBook ,
437- doc:: EmbeddedBook ,
438- doc:: EditionGuide ,
439345 ) ,
440346 Kind :: Dist => describe ! (
441- dist:: Docs ,
442- dist:: RustcDocs ,
443347 dist:: Mingw ,
444348 dist:: Rustc ,
445349 dist:: DebuggerScripts ,
@@ -448,26 +352,12 @@ impl<'a> Builder<'a> {
448352 dist:: Src ,
449353 dist:: PlainSourceTarball ,
450354 dist:: Cargo ,
451- dist:: Rls ,
452- dist:: Rustfmt ,
453- dist:: Clippy ,
454- dist:: Miri ,
455355 dist:: LlvmTools ,
456356 dist:: Lldb ,
457357 dist:: Extended ,
458358 dist:: HashSign
459359 ) ,
460360 Kind :: Install => describe ! (
461- install:: Docs ,
462- install:: Std ,
463- install:: Cargo ,
464- install:: Rls ,
465- install:: Rustfmt ,
466- install:: Clippy ,
467- install:: Miri ,
468- install:: Analysis ,
469- install:: Src ,
470- install:: Rustc
471361 ) ,
472362 }
473363 }
0 commit comments