-
Notifications
You must be signed in to change notification settings - Fork 13.4k
autogenerate compiler flag stubs in the unstable book #141525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
currently all the mentoring instructions:
@rustbot label E-medium E-help-wanted |
…piler-errors docs: autogenerate compiler flag stubs based on -Zhelp 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: ```md # `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#141525
…piler-errors docs: autogenerate compiler flag stubs based on -Zhelp 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: ```md # `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#141525
…piler-errors docs: autogenerate compiler flag stubs based on -Zhelp 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: ```md # `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#141525
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.
The text was updated successfully, but these errors were encountered: