From b0c6c4f9a45cf2b965acd3d10499e9df54929b36 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 29 Jul 2019 10:48:05 -0400 Subject: WIP: Add `const-fn` feature to attempt support for stable toolchain. To get this to work, either `FnMut` traits need to be allowed in `const fn` in stable, or `Handler::new` needs to be non-`const`. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 1079e1d..6d6f192 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,7 @@ cortex-m = "~0.6" [features] default = ["isr-32"] +const-fn = [] # Number of ISR closures to hold in a HandlerTable. This is pretty # clumsy, but doesn't require const generics. -- cgit v1.2.3