Skip to content

Commit

Permalink
travis: use rust 'stable' for rustfmt check
Browse files Browse the repository at this point in the history
This was previously locked down at a specific version (1.31.0, much older
than the current 1.36), so we'd get consistent behavior over time. But since
we allow the rustfmt build to fail (it's in allow_failures), we don't need
this consistency so much. PR authors are expected to format their code
against the current stable rustfmt, but test it against the MSRV (currently
1.32.0).

refs RustCrypto#21
  • Loading branch information
warner committed Aug 7, 2019
1 parent c2f7580 commit 6d3662e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rust:
- 1.32.0
matrix:
include:
- rust: 1.31.0 # lock down for consistent rustfmt behavior
- rust: stable # not locked down or consistent, since allow_failures
env: RUSTFMT
install:
- rustup component add rustfmt-preview
Expand Down

0 comments on commit 6d3662e

Please sign in to comment.