Skip to content

Increase MSRV to 1.41.0, as this was when profile-overrides landed #333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down