From 1835d0333be220fc23d8b290298838dff5549cad Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Sun, 4 Jun 2023 18:06:34 -0400 Subject: [PATCH 1/2] Make RustAnalyzer check off by default --- src/bootstrap/check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index f5a93854bf2..1a0f0047812 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -347,7 +347,7 @@ pub struct RustAnalyzer { impl Step for RustAnalyzer { type Output = (); const ONLY_HOSTS: bool = true; - const DEFAULT: bool = true; + const DEFAULT: bool = false; fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { run.path("src/tools/rust-analyzer") From 7ed7e208abd9f807b96226eb47545f81bc4c9156 Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Sun, 4 Jun 2023 18:06:52 -0400 Subject: [PATCH 2/2] Run Rustfmt before RustAnalyzer --- src/bootstrap/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 848fb9eade9..916823edc14 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -703,8 +703,8 @@ impl<'a> Builder<'a> { check::CargoMiri, check::MiroptTestTools, check::Rls, - check::RustAnalyzer, check::Rustfmt, + check::RustAnalyzer, check::Bootstrap ), Kind::Test => describe!(