Add comments to Cargo.toml/Xargo.toml.
This should make it easier to comment/uncomment stuff for the various examples.
This commit is contained in:
12
Cargo.toml
12
Cargo.toml
@@ -11,10 +11,20 @@ version = "0.2.4"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
cortex-m = "0.4.0"
|
cortex-m = "0.4.0"
|
||||||
cortex-m-semihosting = "0.2.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]
|
[dependencies.cortex-m-rt]
|
||||||
features = ["abort-on-panic"]
|
|
||||||
version = "0.3.12"
|
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
|
# disable both incremental compilation and parallel codegen to reduce the chances of running into
|
||||||
# rust-lang/rust#47074
|
# rust-lang/rust#47074
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
[dependencies.core]
|
[dependencies.core]
|
||||||
stage = 0
|
stage = 0
|
||||||
|
|
||||||
|
# [dependencies.alloc] # Uncomment for the alloc example.
|
||||||
|
# stage = 0
|
||||||
|
|
||||||
[dependencies.compiler_builtins]
|
[dependencies.compiler_builtins]
|
||||||
features = ["mem"]
|
features = ["mem"]
|
||||||
stage = 1
|
stage = 1
|
||||||
Reference in New Issue
Block a user