Skip to content

Commit 61914b2

Browse files
committed
Stabilizing const functions
1 parent 60d9e5f commit 61914b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libs/maintaining-std.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,13 @@ Features can be stabilized in a PR that replaces `#[unstable]` attributes with `
227227

228228
You can find the right version to use in the `#[stable]` attribute by checking the [Forge].
229229

230+
### When a `const` function is being stabilized
231+
232+
Const functions can be stabilized in a PR that replaced `#[rustc_const_unstable]` attributes with `#[rustc_const_stable]` ones. The [Constant Evaluation WG] should be pinged for input on whether or not the `const`-ness is something we want to commit to.
233+
230234
[API Guidelines]: https://rust-lang.github.io/api-guidelines
231235
[Unsafe Code Guidelines WG]: https://github.com/rust-lang/unsafe-code-guidelines
236+
[Constant Evaluation WG]: https://github.com/rust-lang/const-eval
232237
[`rust-lang/rust`]: https://github.com/rust-lang/rust
233238
[`rust-lang/rfcs`]: https://github.com/rust-lang/rfcs
234239
[`rust-lang/rust-forge`]: https://github.com/rust-lang/rust-forge

0 commit comments

Comments
 (0)