Skip to content

Commit 4f208af

Browse files
committed
temp
1 parent acd6ecd commit 4f208af

File tree

1 file changed

+6
-111
lines changed

1 file changed

+6
-111
lines changed

src/bootstrap/builder.rs

+6-111
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(unused)]
2+
13
use std::any::Any;
24
use std::cell::{Cell, RefCell};
35
use std::collections::BTreeSet;
@@ -326,120 +328,23 @@ pub enum Kind {
326328
impl<'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!(
368341
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,
418342
),
419-
Kind::Bench => describe!(test::Crate, test::CrateLibrustc),
343+
Kind::Bench => describe!(
344+
),
420345
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,
439346
),
440347
Kind::Dist => describe!(
441-
dist::Docs,
442-
dist::RustcDocs,
443348
dist::Mingw,
444349
dist::Rustc,
445350
dist::DebuggerScripts,
@@ -458,16 +363,6 @@ impl<'a> Builder<'a> {
458363
dist::HashSign
459364
),
460365
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
471366
),
472367
}
473368
}

0 commit comments

Comments
 (0)