Skip to content

Commit b431523

Browse files
committed
Re-add unused const-fn function to preserve backwards compatibility
1 parent 33a7830 commit b431523

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ readme = "README.md"
1313
repository = "https://github.com/japaric/cortex-m"
1414
version = "0.6.0"
1515
links = "cortex-m" # prevent multiple versions of this crate to be linked together
16+
edition = "2018"
1617

1718
[dependencies]
1819
aligned = "0.3.1"
1920
bare-metal = { version = "0.2.0", features = ["const-fn"] }
2021
volatile-register = "0.2.0"
2122

2223
[features]
24+
const-fn = []
2325
cm7-r0p1 = []
2426
inline-asm = []

0 commit comments

Comments
 (0)