aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-23 19:37:29 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-23 19:37:29 +0000
commit6b61cd2e3ff26d96615a7bfc386077ccf6505c28 (patch)
tree2a8b089d42aad24286cba11c4561e714fc84b85d /Cargo.toml
parent43c2ffbdcfcf96382dbe5e5a64b2af90a447636d (diff)
parentc6f9b2c0aa62fa3ceed6ac58928af15d9e3a58a2 (diff)
Merge #153
153: add "nightly" feature; replace hint::unreachable_unchecked with a panic r=korken89 a=japaric this implements the action plan described in #149 to give you a sense of the overhead of this change: it has increased the binary size of some of our examples by up to 10% but this is mainly from pulling in a panic handler that does formatting r? @korken89 Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d741f6f..f096772 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,6 +51,7 @@ features = ["exit"]
version = "0.5.1"
[features]
+nightly = ["cortex-m-rtfm-macros/nightly", "heapless/const-fn"]
timer-queue = ["cortex-m-rtfm-macros/timer-queue"]
[target.x86_64-unknown-linux-gnu.dev-dependencies]