Skip to content

Set --cfg bootstrap for rustdoc when building docs with bootstrap compiler #71455

Closed
@ecstatic-morse

Description

@ecstatic-morse

Currently, ./x.py doc --stage 0 src/libstd fails after running into some #[cfg(not(bootstrap))] stuff.

I had to do this manually via RUSTDOCFLAGS, but I think this should be the default, no?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions