Skip to content
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

-Z randomize-layout compiler flag is not documented in the unstable book #130462

Open
fasterthanlime opened this issue Sep 17, 2024 · 1 comment
Labels
-Zrandomize-layout Unstable option: Randomize the layout of types. A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@fasterthanlime
Copy link
Contributor

Location

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

Summary

I expected to find a page for -Z randomize-layout, as described in #106764, but I didn't find any.

@fasterthanlime fasterthanlime added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Sep 17, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 17, 2024
@ChrisDenton
Copy link
Member

A meta note is that we need to do a better job of making sure unstable flags are documented. This isn't the first time this has happened and I suspect there are a number of other unintentionally undocumented flags.

Ideally we'd have CI check for it but I understand that may be more complex than it sounds.

@jieyouxu jieyouxu added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. -Zrandomize-layout Unstable option: Randomize the layout of types. and removed -Zrandomize-layout Unstable option: Randomize the layout of types. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Zrandomize-layout Unstable option: Randomize the layout of types. A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants