Skip to content

Commit 88c5106

Browse files
committed
Bump all crates to edition 2024.
I also explicitly set the rustfmt style to 2021 to prevent formatting churn in this same commit.
1 parent 10b8831 commit 88c5106

12 files changed

Lines changed: 12 additions & 8 deletions

File tree

cortex-m-rt/.rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
style_edition = "2021"

cortex-m-rt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/rust-embedded/cortex-m"
1010
version = "0.7.5"
1111
autoexamples = true
1212
links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked
13-
edition = "2021"
13+
edition = "2024"
1414
rust-version = "1.85"
1515

1616
[dependencies]

cortex-m-semihosting/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "cortex-m-semihosting"
88
readme = "README.md"
99
repository = "https://github.com/rust-embedded/cortex-m"
1010
version = "0.5.0"
11-
edition = "2021"
11+
edition = "2024"
1212
rust-version = "1.85"
1313

1414
[features]

cortex-m-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cortex-m-types"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition = "2024"
55
repository = "https://github.com/rust-embedded/cortex-m"
66
categories = ["embedded", "hardware-support", "no-std"]
77
description = "Low level access to Cortex-M processors"

cortex-m/.rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
style_edition = "2021"

cortex-m/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
77
name = "cortex-m"
88
readme = "README.md"
99
repository = "https://github.com/rust-embedded/cortex-m"
10-
edition = "2021"
10+
edition = "2024"
1111
version = "0.7.7"
1212
links = "cortex-m" # prevent multiple versions of this crate to be linked together
1313
rust-version = "1.85"

panic-itm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords = ["panic-impl", "panic-handler", "ITM", "ARM", "Cortex-M"]
66
license = "MIT OR Apache-2.0"
77
name = "panic-itm"
88
repository = "https://github.com/rust-embedded/cortex-m"
9-
edition = "2021"
9+
edition = "2024"
1010
version = "0.4.2"
1111
rust-version = "1.85"
1212

panic-semihosting/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
77
name = "panic-semihosting"
88
repository = "https://github.com/rust-embedded/cortex-m"
99
version = "0.6.0"
10-
edition = "2021"
10+
edition = "2024"
1111
rust-version = "1.85"
1212

1313
[dependencies]

testsuite/.rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
style_edition = "2021"

testsuite/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "testsuite"
33
publish = false
4-
edition = "2021"
4+
edition = "2024"
55
version = "0.1.0"
66
rust-version = "1.85"
77

0 commit comments

Comments
 (0)