rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.36k stars 12.72k forks source link

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

Open fasterthanlime opened 1 month ago

fasterthanlime commented 1 month ago

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 https://github.com/rust-lang/rust/issues/106764, but I didn't find any.

ChrisDenton commented 1 month ago

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.