summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorWeihang Lo <me@weihanglo.tw>2023-04-19 21:31:43 +0100
committerWeihang Lo <me@weihanglo.tw>2023-04-20 09:27:52 +0100
commit60f17908fa57a8315f8ea7d238e7b3285d8f7d65 (patch)
tree2a24533e89b03f4b6f606ceb0485bdc4a674c166 /tests/rustdoc-js-std/parser-errors.js
parent4e463012580415a932ae4fc255aff45982c70369 (diff)
downloadrust-60f17908fa57a8315f8ea7d238e7b3285d8f7d65.tar.gz
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 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions