Closed
Description
I find myself referencing this forge article a lot:
https://forge.rust-lang.org/feature-guide.html
EDIT (mark-i-m): this moved to https://rust-lang.github.io/rustc-guide/implementing_new_features.html
It's ok, but not great. Some things I would like to see covered in rustc-guide instead (and then perhaps remove that article):
- how to add a feature gate in the code
- how to add a test covering your feature gate
- how to change for simple syntactic things
- how to do more advanced gates by looking at
sess.features.your_feature_here
as a boolean