Skip to content

x doc --json flag not working #103816

Closed
@viandoxdev

Description

@viandoxdev

running

./x doc library/std --json --stage 0

only builds the html doc, but

RUSTDOCFLAGS="-Zunstable-options --output-format=json" ./x doc library/std --stage 0

builds the json doc.

I expected the json flag to act as the documentation says (./x doc --help):

        --json          render the documentation in JSON format in addition to
                        the usual HTML format

Meta

using the master branch of this repo commit 2afca78

running with a library profile.

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions