Skip to content

autogenerate compiler flag stubs in the unstable book #141525

Open
@jyn514

Description

@jyn514

Location

https://doc.rust-lang.org/nightly/unstable-book/compiler-flags.html

Summary

currently, we autogenerate stubs for lang and libs features (e.g. https://doc.rust-lang.org/nightly/unstable-book/language-features/explicit-tail-calls.html and https://doc.rust-lang.org/nightly/unstable-book/library-features/windows-process-extensions-force-quotes.html). but we don't do the same for rustc. it would be nice if we did, using -Z help.

this will be non-trivial to implement because it requires bootstrap changes so that rustc is built before unstable-book-gen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-help-wantedCall for participation: Help is requested to fix this issue.E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler 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