Skip to content

Commit

Permalink
Bump MSRV to 1.79 to enable inline_const, used for static asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic committed Nov 14, 2024
1 parent b050694 commit 3ff40da
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_target_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
target: thumbv6m-none-eabi
- name: Install cargo-hack
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rp2040_hal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
target: ${{ env.TARGET }}
- name: Install cargo-hack
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rp2040_hal_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
target: ${{ env.TARGET }}
- name: Use older version of regex
run: cd ${PACKAGE} && cargo update -p regex --precise 1.9.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rp235x_hal_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
target: ${{ env.TARGET }}
- name: Install cargo-hack
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rp235x_hal_examples_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
target: ${{ env.TARGET }}
- name: Use older version of regex
run: cd ${PACKAGE} && cargo update -p regex --precise 1.9.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rp235x_hal_examples_riscv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
target: ${{ env.TARGET }}
- name: Use older version of regex
run: cd ${PACKAGE} && cargo update -p regex --precise 1.9.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rp235x_hal_riscv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
target: ${{ env.TARGET }}
- name: Install cargo-hack
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rp_binary_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
- name: Install cargo-hack
run: |
curl -sSL https://github.com/taiki-e/cargo-hack/releases/download/v0.6.17/cargo-hack-x86_64-unknown-linux-gnu.tar.gz | tar xvzf - -C ~/.cargo/bin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rp_hal_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.77
toolchain: 1.79
- name: Install cargo-hack
run: |
curl -sSL https://github.com/taiki-e/cargo-hack/releases/download/v0.6.17/cargo-hack-x86_64-unknown-linux-gnu.tar.gz | tar xvzf - -C ~/.cargo/bin
Expand Down
2 changes: 1 addition & 1 deletion rp-binary-info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["The rp-rs Developers"]
homepage = "https://github.com/rp-rs/rp-hal"
description = "Code and types for creating Picotool compatible Binary Info metadata"
license = "MIT OR Apache-2.0"
rust-version = "1.77"
rust-version = "1.79"
repository = "https://github.com/rp-rs/rp-hal"
categories = ["embedded", "hardware-support", "no-std", "no-std::no-alloc"]
keywords = ["embedded", "raspberry-pi", "rp2040", "rp2350", "picotool"]
Expand Down
2 changes: 1 addition & 1 deletion rp-hal-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ homepage = "https://github.com/rp-rs/rp-hal"
license = "MIT OR Apache-2.0"
name = "rp-hal-common"
repository = "https://github.com/rp-rs/rp-hal"
rust-version = "1.77"
rust-version = "1.79"
version = "0.1.0"

# DO NOT LIST ANY PAC CRATES OR ARCHITECTURE CRATES HERE
Expand Down
2 changes: 1 addition & 1 deletion rp2040-hal-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords = ["embedded", "hal", "raspberry-pi", "rp2040", "embedded-hal"]
license = "MIT OR Apache-2.0"
name = "rp2040-hal-examples"
repository = "https://github.com/rp-rs/rp-hal"
rust-version = "1.77"
rust-version = "1.79"
version = "0.1.0"

[dependencies]
Expand Down
4 changes: 3 additions & 1 deletion rp2040-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### MSRV

The Minimum-Supported Rust Version (MSRV) for the next release is 1.77
The Minimum-Supported Rust Version (MSRV) for the next release is 1.79

### Added

- Support for *binary info*, which is metadata that `picotool` can read from your binary.
- Bump MSRV to 1.77, because *binary info* examples need C-Strings.
- Bump MSRV to 1.79 to enable inline\_const, used for static asserts.

### Fixed

- Let UART embedded\_io::Write::write return some bytes were written.
- Fix unsoundness in definition of stack for spawning core1.

## [0.10.0] - 2024-03-10

Expand Down
2 changes: 1 addition & 1 deletion rp2040-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords = ["embedded", "hal", "raspberry-pi", "rp2040", "embedded-hal"]
license = "MIT OR Apache-2.0"
name = "rp2040-hal"
repository = "https://github.com/rp-rs/rp-hal"
rust-version = "1.77"
rust-version = "1.79"
version = "0.10.0"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion rp235x-hal-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords = ["embedded", "hal", "raspberry-pi", "rp235x", "rp2350", "embedded-hal
license = "MIT OR Apache-2.0"
name = "rp235x-hal-examples"
repository = "https://github.com/rp-rs/rp-hal"
rust-version = "1.77"
rust-version = "1.79"
version = "0.1.0"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion rp235x-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords = ["embedded", "hal", "raspberry-pi", "rp2350", "embedded-hal"]
license = "MIT OR Apache-2.0"
name = "rp235x-hal"
repository = "https://github.com/rp-rs/rp-hal"
rust-version = "1.77"
rust-version = "1.79"
version = "0.2.0"

[package.metadata.docs.rs]
Expand Down

0 comments on commit 3ff40da

Please sign in to comment.