Skip to content

Commit

Permalink
Merge #236
Browse files Browse the repository at this point in the history
236: Migrate to Rust 2021 as part of the public testing r=richardeoin a=hargoniX

Migration to Rust 2021 as part of the public testing.

We did actually catch one ICE bug with this \o/: rust-lang/rust#87426

Co-authored-by: Henrik Böving <[email protected]>
Co-authored-by: Richard Meadows <[email protected]>
  • Loading branch information
3 people authored Jan 3, 2022
2 parents 80f8676 + be64eb7 commit 6ef937d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/bors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ block_labels = ["wip"]
delete_merged_branches = true
status = [
"Rustfmt",
"ci (1.52.0, stm32h743)",
"ci (1.52.0, stm32h753)",
"ci (1.52.0, stm32h743v)",
"ci (1.52.0, stm32h753v)",
"ci (1.52.0, stm32h747cm7)",
"ci (1.52.0, stm32h7b3)",
"ci (1.52.0, stm32h7b0)",
"ci (1.52.0, stm32h735)",
"ci (1.56.1, stm32h743)",
"ci (1.56.1, stm32h753)",
"ci (1.56.1, stm32h743v)",
"ci (1.56.1, stm32h753v)",
"ci (1.56.1, stm32h747cm7)",
"ci (1.56.1, stm32h7b3)",
"ci (1.56.1, stm32h7b0)",
"ci (1.56.1, stm32h735)",
"ci (stable, stm32h743)",
"ci (stable, stm32h753)",
"ci (stable, stm32h743v)",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix: # All permutations of {rust, mcu}
rust:
- 1.52.0 # MSRV
- 1.56.1 # MSRV
- stable
mcu:
- stm32h743
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

* MSRV increased to 1.56.1

## [v0.11.0] 2021-12-18

* **Breaking**: Simplified API for reading device signature
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = ["Andrew Straw <[email protected]>",
"Matthew Meyer <[email protected]>",
"Florian Jung <[email protected]>",
"Matt Ickstadt <[email protected]>"]
edition = "2018"
edition = "2021"
categories = ["embedded", "hardware-support", "no-std"]
description = "Hardware Abstraction Layer implementation for STM32H7 series microcontrollers"
keywords = ["arm", "cortex-m", "stm32h7xx", "hal", "embedded-hal"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ stm32h7xx-hal
[![Bors enabled](https://bors.tech/images/badge_small.svg)](https://app.bors.tech/repositories/12691)
[![CI](https://github.com/stm32-rs/stm32h7xx-hal/workflows/Continuous%20integration/badge.svg)](https://github.com/stm32-rs/stm32h7xx-hal/actions)
[![Crates.io](https://img.shields.io/crates/v/stm32h7xx-hal.svg)](https://crates.io/crates/stm32h7xx-hal)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.52.0+-yellow.svg)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.56.1+-yellow.svg)

[_stm32h7xx-hal_](https://github.com/stm32-rs/stm32h7xx-hal) contains
a hardware abstraction layer on top of the peripheral access API for
Expand Down Expand Up @@ -111,7 +111,7 @@ programming interfaces are only available on the high density connectors.
Minimum supported Rust version
------------------------------

The Minimum Supported Rust Version (MSRV) at the moment is **1.52.0**. Older
The Minimum Supported Rust Version (MSRV) at the moment is **1.56.1**. Older
versions **may** compile, especially when some features are not used
in your application.

Expand Down

0 comments on commit 6ef937d

Please sign in to comment.