issue 130 stabilization guide
This commit is contained in:
parent
c36a489d97
commit
a230029888
|
|
@ -56,6 +56,8 @@ The report should contain:
|
||||||
previous steps).
|
previous steps).
|
||||||
- Any other relevant information(Examples of such reports can
|
- Any other relevant information(Examples of such reports can
|
||||||
be found in rust-lang/rust#44494 and rust-lang/rust#28237).
|
be found in rust-lang/rust#44494 and rust-lang/rust#28237).
|
||||||
|
- The resolutions of any unresolved questions if the stabilization
|
||||||
|
is for an RFC.
|
||||||
|
|
||||||
## FCP
|
## FCP
|
||||||
|
|
||||||
|
|
@ -88,7 +90,7 @@ in the documentation.
|
||||||
### Updating the feature-gate listing
|
### Updating the feature-gate listing
|
||||||
|
|
||||||
There is a central listing of feature-gates in
|
There is a central listing of feature-gates in
|
||||||
`src/libsyntax/feature_gate.rs`. Search for the `declare_features!`
|
`[src/libsyntax/feature_gate.rs]`. Search for the `declare_features!`
|
||||||
macro. There should be an entry for the feature you are aiming to
|
macro. There should be an entry for the feature you are aiming to
|
||||||
stabilize, something like (this example is taken from
|
stabilize, something like (this example is taken from
|
||||||
[rust-lang/rust#32409]:
|
[rust-lang/rust#32409]:
|
||||||
|
|
@ -171,6 +173,7 @@ if something { /* XXX */ }
|
||||||
```
|
```
|
||||||
|
|
||||||
[rust-lang/rust#32409]:https://github.com/rust-lang/rust/issues/32409
|
[rust-lang/rust#32409]:https://github.com/rust-lang/rust/issues/32409
|
||||||
|
[src/libsyntax/feature_gate.rs]:https://doc.rust-lang.org/nightly/nightly-rustc/syntax/feature_gate/index.html
|
||||||
[The Reference]: https://github.com/rust-lang-nursery/reference
|
[The Reference]: https://github.com/rust-lang-nursery/reference
|
||||||
[The Book]: https://github.com/rust-lang/book
|
[The Book]: https://github.com/rust-lang/book
|
||||||
[Rust by Example]: https://github.com/rust-lang/rust-by-example
|
[Rust by Example]: https://github.com/rust-lang/rust-by-example
|
||||||
|
|
|
||||||
|
|
@ -260,10 +260,6 @@ about the feature.
|
||||||
|
|
||||||
[stab]: https://github.com/rust-lang/rust/pull/56245
|
[stab]: https://github.com/rust-lang/rust/pull/56245
|
||||||
|
|
||||||
TODO: currently, we have a [forge article][feature-stab] about stabilization, but
|
|
||||||
we really ought to move that to the guide (in fact, we probably should have a whole
|
|
||||||
chapter about feature gates and stabilization).
|
|
||||||
|
|
||||||
[feature-stab]: https://forge.rust-lang.org/stabilization-guide.html
|
[feature-stab]: https://forge.rust-lang.org/stabilization-guide.html
|
||||||
|
|
||||||
[relnotes]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
|
[relnotes]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue