From 0d699f0fc35d22536487cb83297bdea3d0fb899c Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sun, 25 Aug 2019 21:07:07 -0700 Subject: [PATCH] .travis.yml: Bump `polyval` MSRV to 1.32.0 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. --- .travis.yml | 4 ++-- polyval/README.md | 2 +- polyval/src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0bb3549..cb1dac4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/polyval/README.md b/polyval/README.md index 7c968a1..21e7a9e 100644 --- a/polyval/README.md +++ b/polyval/README.md @@ -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 diff --git a/polyval/src/lib.rs b/polyval/src/lib.rs index 15ac67e..cf6d503 100644 --- a/polyval/src/lib.rs +++ b/polyval/src/lib.rs @@ -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`