diff options
| author | Weihang Lo <me@weihanglo.tw> | 2023-04-19 21:31:43 +0100 |
|---|---|---|
| committer | Weihang Lo <me@weihanglo.tw> | 2023-04-20 09:27:52 +0100 |
| commit | 60f17908fa57a8315f8ea7d238e7b3285d8f7d65 (patch) | |
| tree | 2a24533e89b03f4b6f606ceb0485bdc4a674c166 /compiler/rustc_codegen_gcc | |
| parent | 4e463012580415a932ae4fc255aff45982c70369 (diff) | |
| download | rust-60f17908fa57a8315f8ea7d238e7b3285d8f7d65.tar.gz rust-60f17908fa57a8315f8ea7d238e7b3285d8f7d65.zip | |
linkchecker: running from a directory separate from the book
Since rust-lang/cargo#11851, Cargo became a Cargo workspace of itself. However, since `src/tools/linkchecker` cannot run inside a workspace, Cargo needs a workaround that excludes `src/doc` from workspace member probing. To remove this hack, this PR adds a new optional argument `--path` for `linkchecker.sh`. With this new argument, `linkchecker.sh` can be run from a directory separate from the book. This also benefits other projects using linkchecker, as they can run it under target directory or any other directory, reducing leftover.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
