diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-06-04 13:21:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-04 13:21:26 +0200 |
| commit | f2f0e6cc81227fe60b1c164144b763f222c92820 (patch) | |
| tree | 8e206ee2059aaded4da04554c99cbd1404289656 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 7ee25055299830804b9714bbb5fdd36fb9d74ba9 (diff) | |
| parent | a80d69a6ac996616937fb41357f10db036f85f73 (diff) | |
| download | rust-f2f0e6cc81227fe60b1c164144b763f222c92820.tar.gz rust-f2f0e6cc81227fe60b1c164144b763f222c92820.zip | |
Rollup merge of #110701 - jyn514:test-core, r=Mark-Simulacrum
Fix `x test core` when download-rustc is enabled Fix `x test --stage 2 core` when download-rustc is enabled This works by building std from source instead of downloading it, for library tests only. This was somewhat complicated because of the following requirements: 1. Unconditionally downloading libstd breaks `x test core`, because `coretests` requires the std loaded from the sysroot to match the std that's currently being tested. 2. Unconditionally rebuilding libstd breaks `x test ui-fulldeps librustdoc`, because anything loading `rustc_private` needs to use the same libstd that rustc was built with. Break the knot by introducing a new `stage2-test-sysroot`, used only for testing `std` itself. This holds a freshly compiled std, while `stage2` and `ci-rustc-sysroot` still hold the downloaded std. This also extends the existing `cp_filtered` in Sysroot to apply to the `rust-std` component, not just the `rustc-dev` component, to avoid having both versions of std in `stage2-test-sysroot`. Fixes #110352.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
