diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-02 10:27:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-02 10:27:22 +0200 |
| commit | efd2739ac4570ce592897573824c715b178a06a7 (patch) | |
| tree | 00a2b558a86f1287cefbbb708554db158238e10b /src/bootstrap | |
| parent | a353cb0cd8fb1d03a117eccd2987ebf0d3e04ee2 (diff) | |
| parent | b9df85f6edeb135dd9abb691862e7e9e30740060 (diff) | |
Rollup merge of #113244 - Kobzol:bootstrap-rust-analyzer-tests, r=jyn514
Make Rust Analyzer tests faster by compiling less code This should bring down the test duration of RA significantly.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 1f514898a89..757926e7345 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -379,7 +379,9 @@ impl Step for RustAnalyzer { let host = self.host; let compiler = builder.compiler(stage, host); - builder.ensure(tool::RustAnalyzer { compiler, target: self.host }).expect("in-tree tool"); + // We don't need to build the whole Rust Analyzer for the proc-macro-srv test suite, + // but we do need the standard library to be present. + builder.ensure(compile::Std::new(compiler, host)); let workspace_path = "src/tools/rust-analyzer"; // until the whole RA test suite runs on `i686`, we only run |
