Improve feature gate and x.py docs by jyn514 · Pull Request #1701 · rust-lang/rustc-dev-guide (original) (raw)

cc rust-lang/libs-team#242 (comment)

This moves over some docs from the rust-lang/rust README (will make a PR there shortly) as well as consolidating existing docs in the guide.

As a followup, I'd like to change the docs to consistently use ./x instead of ./x.py, since it's the most likely to work on every system.