about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorPietro Albini <pietro.albini@ferrous-systems.com>2022-10-05 12:45:52 +0200
committerPietro Albini <pietro.albini@ferrous-systems.com>2022-10-05 14:32:09 +0200
commit004b8b98d626a89b5d4cdc630ff337c0f4ea919f (patch)
tree96e9c13a87a142af94b2f805b65c0812bb712fda /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentafe29e48bc4d57c1bb73228ba8d70dc8f42436fc (diff)
downloadrust-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