diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-07-29 16:16:41 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 16:16:41 +1000 |
| commit | 95ce5af4fe4575a558e27fcfebc0646936f39618 (patch) | |
| tree | ef69e90c85868ec4f24f72a9373ee8f07f8f232f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | cb6785f73df1aa3f558796a22a4ab9652cf38e26 (diff) | |
| parent | 6693b3908f36374cd998e43445760f2b1552973d (diff) | |
| download | rust-95ce5af4fe4575a558e27fcfebc0646936f39618.tar.gz rust-95ce5af4fe4575a558e27fcfebc0646936f39618.zip | |
Rollup merge of #143883 - pietroalbini:pa-linkchecker-extra-target, r=ehuss
Add `--link-targets-dir` argument to linkchecker In my release notes API list tool (rust-lang/rust#143053) I want to check whether all links generated by the tool are actually valid, and using linkchecker seems to be the most sensible choice. Linkchecker currently has a fairly big limitation though: it can only check a single directory, it checks *all* of the files within it, and link targets must point inside that same directory. This works great when checking the whole documentation package, but in my case I only need to check that one file contains valid links to the standard library docs. To solve that, this PR adds a new `--link-targets-dir` flag to linkchecker. Directories passed to it will be valid link targets (with lower priority than the root being checked), but links within them will not be checked. I'm not that happy with the name of the flag, happy for it to be bikeshedded.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
