From 1f2097ab114218480485d40088bb84e9f553c690 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 1 Jun 2021 15:53:44 +0200 Subject: [PATCH] cortex-m-rt is not a build dep --- stm32-metapac/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm32-metapac/Cargo.toml b/stm32-metapac/Cargo.toml index 6c5e47e8..c92c5f00 100644 --- a/stm32-metapac/Cargo.toml +++ b/stm32-metapac/Cargo.toml @@ -7,13 +7,13 @@ resolver = "2" [dependencies] cortex-m = "0.7.2" +cortex-m-rt = { version = "0.6.8", optional = true } [build-dependencies] regex = "1.4.6" chiptool = { git = "https://github.com/embassy-rs/chiptool", rev = "86b77165078065058098e981d49d2dd213b2feba" } serde = { version = "1.0.123", features = [ "derive" ]} serde_yaml = "0.8.15" -cortex-m-rt = { version = "0.6.8", optional = true } [features] rt = ["cortex-m-rt/device"]