about summary refs log tree commit diff
path: root/compiler/rustc_serialize/src/serialize.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-18 16:06:44 +0000
committerbors <bors@rust-lang.org>2022-04-18 16:06:44 +0000
commit0516711ab057d9731f55511f00f9d426bc9db724 (patch)
tree8916f9cd9cd013c297d71f981ec17a881f9a2ebb /compiler/rustc_serialize/src/serialize.rs
parent6fd7e9010db6be7605241c39eab7c5078ee2d5bd (diff)
parent0db70ca26313b847738fd9405c67e9c43e9ee21b (diff)
downloadrust-0516711ab057d9731f55511f00f9d426bc9db724.tar.gz
rust-0516711ab057d9731f55511f00f9d426bc9db724.zip
Auto merge of #95906 - jyn514:enforce-valid-paths, r=Mark-Simulacrum
Require all paths passed to `ShouldRun::paths` to exist on disk

This has two benefits:
1. There is a clearer mental model of how bootstrap works. Steps correspond to paths on disk unless it's strictly impossible for them to do so (e.g. dist components).
2. Bootstrap has better checks for internal consistency. This caught several issues:
  - `src/sanitizers` doesn't exist; I changed it to just be a `sanitizers` alias.
  - `src/tools/lld` doesn't exist; I removed it, since `lld` alone already works.
  - `src/llvm` doesn't exist; removed it since `llvm` and `src/llvm-project` both work.
  - `src/lldb_batchmode.py` doesn't exist, it was moved to `src/etc`.
  - `install` was still using `src/librustc` instead of `compiler/rustc`.
  - None of the tools in `dist` / `install` allowed using `src/tools/X` to build them. This might be intentional - I can change them to aliases if you like.

Builds on https://github.com/rust-lang/rust/pull/95901 and should not be merged before.
Diffstat (limited to 'compiler/rustc_serialize/src/serialize.rs')
0 files changed, 0 insertions, 0 deletions