Skip to content

Commit

Permalink
.travis.yml: Bump polyval MSRV to 1.32.0
Browse files Browse the repository at this point in the history
The POLYVAL tests are failing on Rust 1.27.0, but passing on newer
versions, suggesting there may be something amiss with `core::arch`
support for `pclmulqdq` on older Rust versions.

This bumps it up to our ideal MSRV, as 1.32.0+ would allow us to replace
the dependency on the `byteorder` crate with equivalent `core`
functions.
  • Loading branch information
tarcieri committed Aug 26, 2019
1 parent a30763c commit 0d699f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ matrix:
- cargo build --verbose --all --exclude=polyval --tests

# polyval presently needs either RUSTFLAGS or non-default features
- name: "Rust: 1.27.0 (polyval)"
rust: 1.27.0
- name: "Rust: 1.32.0 (polyval)"
rust: 1.32.0
script: ./test_polyval.sh
- name: "Rust: stable (polyval)"
rust: stable
Expand Down
2 changes: 1 addition & 1 deletion polyval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dual licensed as above, without any additional terms or conditions.
[docs-image]: https://docs.rs/polyval/badge.svg
[docs-link]: https://docs.rs/polyval/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.27+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.32+-blue.svg
[build-image]: https://travis-ci.org/RustCrypto/MACs.svg?branch=master
[build-link]: https://travis-ci.org/RustCrypto/MACs

Expand Down
2 changes: 1 addition & 1 deletion polyval/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//!
//! ## Requirements
//!
//! - Rust 1.27.0 or newer
//! - Rust 1.32.0 or newer
//! - `RUSTFLAGS` with `-Ctarget-cpu` and `-Ctarget-feature`:
//! - x86(-64) CPU: `target-cpu=sandybridge` or newer
//! - SSE2 + SSE4.1: `target-feature=+sse2,+sse4.1`
Expand Down

0 comments on commit 0d699f0

Please sign in to comment.