about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-literal.js
diff options
context:
space:
mode:
authorJynn Nelson <jynn.nelson@ferrous-systems.com>2025-09-22 10:59:39 -0700
committerJynn Nelson <jynn.nelson@ferrous-systems.com>2025-09-29 16:02:22 -0700
commit73f6b08022944d24fb5b623494a18cc95df21802 (patch)
treef9a48dee49ce1d1703ea963827ad1b9dd9168382 /tests/rustdoc-js-std/parser-literal.js
parentdc2c3564d273cf8ccce32dc4f47eaa27063bceb9 (diff)
downloadrust-73f6b08022944d24fb5b623494a18cc95df21802.tar.gz
rust-73f6b08022944d24fb5b623494a18cc95df21802.zip
Don't condition RUSTDOC_LIBDIR on `--no-doc`
In d94e7ff065cd393a645eb3e9c96ce0418856e95d, `rustdoc_path` was changed
to ignore `want_rustdoc` (which is just whether `--no-doc` was passed).
But RUSTDOC_LIBDIR wasn't kept in sync. Rather than trying to keep
`rustdoc_path` in sync with `RUSTDOC_LIBDIR`, just pass LIBDIR to the
rustc shim unconditionally.

This fix allows calling `ensure(doc::Step)` from a non-doc top-level
Step, even if `--no-doc` was present in the command line.
Diffstat (limited to 'tests/rustdoc-js-std/parser-literal.js')
0 files changed, 0 insertions, 0 deletions