about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-07-29 15:39:59 +0900
committerGitHub <noreply@github.com>2022-07-29 15:39:59 +0900
commit55296c47f49fcb38d850ad16fb8d05efc3bdad1b (patch)
tree8e1a6f72acd6e9d00b0b9de3e7c20c420fec8c0b /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parentb7beec96778eeedf01e1e971623c270a6e76aa6d (diff)
parentd411a0865556dfc154841c8c2e084f7d464998f1 (diff)
downloadrust-55296c47f49fcb38d850ad16fb8d05efc3bdad1b.tar.gz
rust-55296c47f49fcb38d850ad16fb8d05efc3bdad1b.zip
Rollup merge of #99766 - fmease:htmldocck-subst-channel-when-blessing, r=Mark-Simulacrum
Htmldocck: Substitute the doc channel when blessing

Since #84942, the snippet `{{channel}}` gets substituted with the concrete “doc channel” (e.g. `https://doc.rust-lang.org/nightly`) when snapshot files are checked against the actual rustdoc output.

However, when you `--bless` rustdoc tests, htmldocck just dumps the concrete channel into the snapshot file and
you have to manually do a find-and-replace after blessing to uphold what #84942 set out to fix.

I admit it's a bit fragile to blindly replace URLs like this but I guess it's not too bad in practice.
Feel free to close this PR if you don't think that this is a good idea.

`@rustbot` label T-rustdoc A-testsuite
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions