From d002e0f2393c7bf9eba6f8fd2ecf185399d0d605 Mon Sep 17 00:00:00 2001 From: Kitlith Date: Sat, 24 Feb 2018 18:28:53 -0800 Subject: [PATCH] Add comments to Cargo.toml/Xargo.toml. This should make it easier to comment/uncomment stuff for the various examples. --- Cargo.toml | 12 +++++++++++- Xargo.toml | 5 ++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f405894..3157649 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,10 +11,20 @@ version = "0.2.4" [dependencies] cortex-m = "0.4.0" cortex-m-semihosting = "0.2.0" +# alloc-cortex-m release doesn't use linked_list_allocator v0.5.0 yet. +# Uncomment for the allocator example. +#alloc-cortex-m = { git = "https://github.com/japaric/alloc-cortex-m.git" } + [dependencies.cortex-m-rt] -features = ["abort-on-panic"] version = "0.3.12" +# Comment for the panic example. +features = ["abort-on-panic"] + +# Uncomment for the device example. +# [dependencies.stm32f103xx] +# features = ["rt"] +# version = "0.8.0" # disable both incremental compilation and parallel codegen to reduce the chances of running into # rust-lang/rust#47074 diff --git a/Xargo.toml b/Xargo.toml index 89ad4cd..27f7b2d 100644 --- a/Xargo.toml +++ b/Xargo.toml @@ -1,6 +1,9 @@ [dependencies.core] stage = 0 +# [dependencies.alloc] # Uncomment for the alloc example. +# stage = 0 + [dependencies.compiler_builtins] features = ["mem"] -stage = 1 \ No newline at end of file +stage = 1