aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2022-02-24 01:41:36 +0000
committerGravatar Adam Greig <adam@adamgreig.com> 2022-02-24 01:44:17 +0000
commitc39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82 (patch)
tree3ce04e656dc90656c54be8c1295680e2158023ca /cortex-m-rt
parent37de64ae532889421a938660e1c2ced87a3bd77a (diff)
downloadcortex-m-c39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82.tar.gz
cortex-m-c39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82.tar.zst
cortex-m-c39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82.zip
Bump to Edition 2021 and rust-version 1.59
Diffstat (limited to 'cortex-m-rt')
-rw-r--r--cortex-m-rt/Cargo.toml3
-rw-r--r--cortex-m-rt/macros/Cargo.toml3
2 files changed, 4 insertions, 2 deletions
diff --git a/cortex-m-rt/Cargo.toml b/cortex-m-rt/Cargo.toml
index ae4eb9f..c292cfe 100644
--- a/cortex-m-rt/Cargo.toml
+++ b/cortex-m-rt/Cargo.toml
@@ -15,7 +15,8 @@ repository = "https://github.com/rust-embedded/cortex-m"
version = "0.7.1"
autoexamples = true
links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked
-edition = "2018"
+edition = "2021"
+rust-version = "1.59"
[dependencies]
cortex-m-rt-macros = { path = "macros", version = "=0.7.0" }
diff --git a/cortex-m-rt/macros/Cargo.toml b/cortex-m-rt/macros/Cargo.toml
index c73ebc1..e95cc7d 100644
--- a/cortex-m-rt/macros/Cargo.toml
+++ b/cortex-m-rt/macros/Cargo.toml
@@ -8,7 +8,8 @@ license = "MIT OR Apache-2.0"
name = "cortex-m-rt-macros"
repository = "https://github.com/rust-embedded/cortex-m"
version = "0.7.0"
-edition = "2018"
+edition = "2021"
+rust-version = "1.59"
[lib]
proc-macro = true