On Wed Apr 1, 2026 at 12:45 PM BST, Miguel Ojeda wrote: > Currently the example in the documentation shows a version-based name > for the Kconfig example: > > RUSTC_VERSION_MIN_107900 > > The reason behind it was to possibly avoid repetition in case several > features used the same minimum. > > However, we ended up preferring to give them a descriptive name for each > feature added even if that could lead to some repetition. In practice, > the repetition has not happened so far, and even if it does at some point, > it is not a big deal. > > Thus replace the example in the documentation with one of our current > examples (after removing previous ones from the bump), to show how they > actually look like, and in case someone `grep`s for it. > > In addition, it has the advantage that it shows the `RUSTC_HAS_*` > pattern we follow in `init/Kconfig`, similar to the C side. > > Signed-off-by: Miguel Ojeda <[email protected]>
Reviewed-by: Gary Guo <[email protected]> > --- > Documentation/rust/general-information.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
