From c7b9507a57f2ba28c18b15dd2719a1c56f74a302 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 20 Jul 2017 22:53:44 -0500 Subject: `Resource` trait, docs, examples and rtfm-syntax related changes --- Cargo.toml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index d36b81e..e558f5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,16 @@ static-ref = "0.2.0" [dependencies.cortex-m-rtfm-macros] path = "macros" -[dev-dependencies] +[target.'cfg(target_arch = "x86_64")'.dev-dependencies] compiletest_rs = "0.2.8" -stm32f103xx = "0.7.1" + +[dev-dependencies.cortex-m-rt] +features = ["abort-on-panic"] +version = "0.3.3" + +[dev-dependencies.stm32f103xx] +features = ["rt"] +version = "0.7.1" + +[profile.release] +lto = true \ No newline at end of file -- cgit v1.2.3