Skip to content

Commit cb8acba

Browse files
committed
Revert "Remove behavior left behind from a previous iteration"
This reverts commit e51caf2.
1 parent e51caf2 commit cb8acba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

text/3857-cfg-version.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ So given `--check-cfg 'cfg(foo, values(since("1.95.0")))'`,
238238
A new built-in cfg `--cfg rust=<version>` will be added by the compiler
239239
that specifies the language version.
240240
This will be the version of `rustc` with the behavior for pre-release versions being unspecified.
241-
We expect rustc to strip pre-release versions, treating them as if they fully implement that language version.
241+
We expect rustc to:
242+
- Translate the `-nightly` pre-release to `-incomplete
243+
- Strip the `-beta.5` pre-release
242244

243245
`rust` will be specified as `--check-cfg 'cfg(rust, values(since("1.95.0")))'`
244246
(or whatever version this gets stabilized in).

0 commit comments

Comments
 (0)