-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Closed
Copy link
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Problem
It is currently not possible to access the JSON version of the documentation for crates bundled with the toolchain (core, alloc, std, etc.) via the same mechanism used for "normal" crates:
# This does not succeed
cargo +nightly rustdoc -p std --lib -- -Zunstable-options -wjsonThis is due to the fact that those crates are pre-compiled.
Proposed solution
rustup already bundles the HTML version of the documentation for those crates.
We can start bundling the JSON version as a separate rustup component, on the nightly toolchain.
Metadata
Metadata
Assignees
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.