Skip to content

Commit 21837dc

Browse files
committed
Bump to Edition 2021 and rust-version 1.59
1 parent f7d6e5b commit 21837dc

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ name = "cortex-m"
1212
readme = "README.md"
1313
repository = "https://github.com/rust-embedded/cortex-m"
1414
version = "0.7.4"
15-
edition = "2018"
15+
edition = "2021"
16+
rust-version = "1.59"
1617
links = "cortex-m" # prevent multiple versions of this crate to be linked together
1718

1819
[dependencies]

cortex-m-rt/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ repository = "https://github.com/rust-embedded/cortex-m"
1515
version = "0.7.1"
1616
autoexamples = true
1717
links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked
18-
edition = "2018"
18+
edition = "2021"
19+
rust-version = "1.59"
1920

2021
[dependencies]
2122
cortex-m-rt-macros = { path = "macros", version = "=0.7.0" }

cortex-m-rt/macros/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ license = "MIT OR Apache-2.0"
88
name = "cortex-m-rt-macros"
99
repository = "https://github.com/rust-embedded/cortex-m"
1010
version = "0.7.0"
11-
edition = "2018"
11+
edition = "2021"
12+
rust-version = "1.59"
1213

1314
[lib]
1415
proc-macro = true

cortex-m-semihosting/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ name = "cortex-m-semihosting"
1212
readme = "README.md"
1313
repository = "https://github.com/rust-embedded/cortex-m"
1414
version = "0.4.1"
15-
edition = "2018"
15+
edition = "2021"
16+
rust-version = "1.59"
1617

1718
[features]
1819
inline-asm = []

panic-semihosting/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ license = "MIT OR Apache-2.0"
1111
name = "panic-semihosting"
1212
repository = "https://github.com/rust-embedded/cortex-m"
1313
version = "0.5.6"
14+
rust-version = "1.59"
15+
edition = "2021"
1416

1517
[dependencies]
1618
cortex-m = { path = "..", version = ">= 0.5.6, < 0.8" }

0 commit comments

Comments
 (0)