From 04a4611696be95e829e52b5cc0863cf4ec398641 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Thu, 23 Apr 2020 12:19:22 +0200 Subject: [PATCH] Add MSRV 1.33.0 to CI --- .travis.yml | 26 ++++++++++++++++++++++++++ README.md | 5 +++++ 2 files changed, 31 insertions(+) diff --git a/.travis.yml b/.travis.yml index c50b0d8..4ca6a3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,6 +54,32 @@ matrix: rust: nightly if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + # MSRV + - env: TARGET=x86_64-unknown-linux-gnu + rust: 1.33.0 + if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + + - env: TARGET=thumbv6m-none-eabi + rust: 1.33.0 + if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + + - env: TARGET=thumbv7m-none-eabi + rust: 1.33.0 + if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + + - env: TARGET=thumbv7em-none-eabi + rust: 1.33.0 + if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + + - env: TARGET=thumbv7em-none-eabihf + rust: 1.33.0 + if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + + - env: TARGET=thumbv8m.main-none-eabi + rust: 1.33.0 + if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + + before_install: set -e install: diff --git a/README.md b/README.md index 2fe7b26..e5f35b0 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,11 @@ This project is developed and maintained by the [Cortex-M team][team]. ## [Documentation](https://docs.rs/cortex-m-semihosting) +# Minimum Supported Rust Version (MSRV) + +This crate is guaranteed to compile on stable Rust 1.33.0 and up. It *might* +compile with older versions but that may change in any new patch release. + ## License Licensed under either of