diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-04 19:18:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-04 19:18:17 +0200 |
| commit | 0098cd4e83574a9e8771b2ac643d85e5e07e44a9 (patch) | |
| tree | 1ddf66a75bb076d254e3bf210c44a47c0c9b5a18 /src/bootstrap/test.rs | |
| parent | eac35583d2ffb5ed9e564dee0822c9a244058ee0 (diff) | |
| parent | fd4c81f4c19e3b1eb0710e50e04fb1f980b7e7ab (diff) | |
| download | rust-0098cd4e83574a9e8771b2ac643d85e5e07e44a9.tar.gz rust-0098cd4e83574a9e8771b2ac643d85e5e07e44a9.zip | |
Rollup merge of #108865 - Zoxc:library-dummy-crate, r=jyn514
Add a `sysroot` crate to represent the standard library crates This adds a dummy crate named `sysroot` to represent the standard library target instead of using the `test` crate. This allows the removal of `proc_macro` as a dependency of `test` allowing these 2 crates to build in parallel saving around 9 seconds locally.
Diffstat (limited to 'src/bootstrap/test.rs')
| -rw-r--r-- | src/bootstrap/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index aee84e9c9be..cfccb516627 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -2145,7 +2145,7 @@ impl Step for Crate { const DEFAULT: bool = true; fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { - run.crate_or_deps("test") + run.crate_or_deps("sysroot") } fn make_run(run: RunConfig<'_>) { |
