Clarify that we use rustfmt-preview.

This may help avoid confusion with older rustfmt versions.
This commit is contained in:
Dan Gohman
2018-08-27 09:51:02 -07:00
parent f39428a5cd
commit 9eee91fc12

View File

@@ -44,14 +44,14 @@ be aware of.
### rustfmt
All PRs must be formatted according to the current stable [rustfmt], and this
is checked in the continuous integration tests. See the [rustfmt quickstart]
for setup.
All PRs must be formatted according to rustfmt, and this is checked in the
continuous integration tests. We use the current stable [rustfmt-preview]
version. See the [rustfmt quickstart] for setup.
[format-all.sh] is a script for running the appropriate version of rustfmt,
which may be convenient when there are multiple versions installed.
[rustfmt]: https://github.com/rust-lang-nursery/rustfmt
[rustfmt-preview]: https://github.com/rust-lang-nursery/rustfmt
[rustfmt quickstart]: https://github.com/rust-lang-nursery/rustfmt#quick-start
[format-all.sh]: https://github.com/CraneStation/cranelift/blob/master/format-all.sh