diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54d1043e3e6e..213a3de37a1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: - x86_64-unknown-linux-gnu toolchain: - stable - - 1.36.0 + - 1.41.0 steps: - name: Checkout uses: actions/checkout@v2 @@ -57,10 +57,6 @@ jobs: target: ${{ matrix.target }} override: true - - name: Disable optimisation profiles - if: matrix.toolchain == '1.36.0' - run: sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml - - name: cargo check uses: actions-rs/cargo@v1 with: @@ -261,7 +257,7 @@ jobs: - x86_64-unknown-linux-gnu toolchain: - stable - - 1.36.0 + - 1.41.0 steps: - name: Checkout uses: actions/checkout@v2 @@ -272,10 +268,6 @@ jobs: target: ${{ matrix.target }} override: true - - name: Disable optimisation profiles - if: matrix.toolchain == '1.36.0' - run: sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml - - name: cargo check uses: actions-rs/cargo@v1 with: @@ -293,13 +285,10 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.36.0 + toolchain: 1.41.0 target: thumbv7m-none-eabi override: true - - name: Disable optimisation profiles - run: sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml - - uses: actions-rs/cargo@v1 with: use-cross: false @@ -316,13 +305,10 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.36.0 + toolchain: 1.41.0 target: thumbv6m-none-eabi override: true - - name: Disable optimisation profiles - run: sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml - - uses: actions-rs/cargo@v1 with: use-cross: false diff --git a/.travis.yml b/.travis.yml index c26513077f6f..cc8efc2e9e10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ matrix: # MSRV - env: TARGET=thumbv7m-none-eabi - rust: 1.36.0 + rust: 1.41.0 if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) - env: TARGET=thumbv6m-none-eabi diff --git a/README.md b/README.md index 836d8af95352..fd2b76273cde 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Formerly known as Real-Time For the Masses. ## Requirements -- Rust 1.36.0+ +- Rust 1.41.0+ - Applications must be written using the 2018 edition. diff --git a/ci/script.sh b/ci/script.sh index 6c09909773ec..cc8622a7db6d 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -50,7 +50,7 @@ main() { fi if [ $TRAVIS_RUST_VERSION = nightly ]; then - # Tests where required MSRV > 1.36 + # Tests where required MSRV > 1.41 #local exs=( #) #for ex in ${exs[@]}; do diff --git a/src/lib.rs b/src/lib.rs index 500365316857..f1c24ee18505 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,7 @@ //! //! # Minimum Supported Rust Version (MSRV) //! -//! This crate is guaranteed to compile on stable Rust 1.36 (2018 edition) and up. It *might* +//! This crate is guaranteed to compile on stable Rust 1.41 (2018 edition) and up. It *might* //! compile on older versions but that may change in any new patch release. //! //! # Semantic Versioning