Skip to content

Autogenerate unstable compiler flag stubs for unstable-book#157626

Open
kohsine wants to merge 1 commit into
rust-lang:mainfrom
kohsine:autogen-flag-stubs
Open

Autogenerate unstable compiler flag stubs for unstable-book#157626
kohsine wants to merge 1 commit into
rust-lang:mainfrom
kohsine:autogen-flag-stubs

Conversation

@kohsine

@kohsine kohsine commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Closes #141525.

Based on old PR #142135.

Parses rustc -Zhelp to generate doc stubs for unstable compiler flags if any are missing.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jun 8, 2026
@rustbot

rustbot commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

r? @clubby789

rustbot has assigned @clubby789.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: bootstrap
  • bootstrap expanded to 6 candidates
  • Random selection from Mark-Simulacrum, clubby789, jieyouxu

@clubby789

Copy link
Copy Markdown
Contributor

For context, a previous attempt at this parsed the options macro: #154070 This was reverted in #154488. Would you be interested in investigating an approach that addresses the concerns raised?

If not, please add a Co-authored-by: credit with the original author of this code to your commit.

@clubby789 clubby789 added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

autogenerate compiler flag stubs in the unstable book

3 participants