about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-10 00:07:18 +0000
committerbors <bors@rust-lang.org>2024-06-10 00:07:18 +0000
commit6d94a8727522e21c4309deb7034f5093531a6a76 (patch)
treedf5f8b46600826511c700a85d55af67ba7fd2ff4 /compiler/rustc_hir_analysis/src
parenta70b2ae57713ed0e7411c059d582ab382fc4166a (diff)
parentd9f78cb7939b340f72389fbaedfa4d872d0bbe43 (diff)
downloadrust-6d94a8727522e21c4309deb7034f5093531a6a76.tar.gz
rust-6d94a8727522e21c4309deb7034f5093531a6a76.zip
Auto merge of #107099 - edward-shen:edward-shen/rustdoc-remap-path-prefix, r=GuillaumeGomez
rustdoc: Add support for --remap-path-prefix

Adds `--remap-path-prefix` as an unstable option. This is implemented to mimic the behavior of `rustc`'s `--remap-path-prefix`.

This flag similarly takes in two paths, a prefix to replace and a replacement string.

This is useful for build tools (e.g. Buck) other than cargo that can run doc tests.

cc: `@dtolnay`
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions