diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2022-10-05 12:45:52 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2022-10-05 14:32:09 +0200 |
| commit | 004b8b98d626a89b5d4cdc630ff337c0f4ea919f (patch) | |
| tree | 96e9c13a87a142af94b2f805b65c0812bb712fda /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | afe29e48bc4d57c1bb73228ba8d70dc8f42436fc (diff) | |
| download | rust-004b8b98d626a89b5d4cdc630ff337c0f4ea919f.tar.gz rust-004b8b98d626a89b5d4cdc630ff337c0f4ea919f.zip | |
add a "standalone" path for doc::Standalone to be able to exclude it
Before this commit, the path for the doc::Standalone step was "src/doc", which is accurate as the standalone docs source files live at the root of the "src/doc" directory tree. Unfortunately, that caused bad interactions when trying to exclude it with `--exclude src/doc`. When an exclusion is passed to bootstrap, it will exclude all steps whose path *ends with* the exclusion, which results in the Cargo book (src/tools/cargo/src/doc) to also be excluded. To work around this problem, this commit adds the "standalone" path as an alternate path for doc::Standalone, allowing `--exclude standalone` to work without side effects.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
