about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-04-10 17:09:56 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-04-16 13:13:39 -0500
commit0db70ca26313b847738fd9405c67e9c43e9ee21b (patch)
treecd502ae08a568acac85f781b966778914f8d0dd2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent4c1438332be229ee1d1e1dbc02181a03678e04f9 (diff)
downloadrust-0db70ca26313b847738fd9405c67e9c43e9ee21b.tar.gz
rust-0db70ca26313b847738fd9405c67e9c43e9ee21b.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions