rust icon indicating copy to clipboard operation
rust copied to clipboard

docs: autogenerate compiler flag stubs based on -Zhelp

Open rmehri01 opened this issue 4 months ago • 5 comments

Adds autogenerated compiler flag stubs to the unstable book by building rustc, passing it's path to unstable-book-gen, and using that to call the compiler with -Zhelp and create a similar Features that is used for library and lang stubs.

Example:

# `combine_cgu`

combine CGUs into a single one

This feature has no tracking issue, and is therefore likely internal to the compiler, not being intended for general use.

------------------------

Closes rust-lang/rust#141525

rmehri01 avatar Jun 07 '25 01:06 rmehri01