From 2ba09dd68d73d624af75be4880df36ce82efe2bc Mon Sep 17 00:00:00 2001 From: datdenkikniet Date: Thu, 13 Apr 2023 22:13:40 +0200 Subject: rtic-macros: wrap everything in macro_rules! to improve the error experience and royally **** up the DX experience (for lib.rs in rtic-macros, at least :P) --- rtic-macros/src/codegen/bindings.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'rtic-macros/src/codegen/bindings.rs') diff --git a/rtic-macros/src/codegen/bindings.rs b/rtic-macros/src/codegen/bindings.rs index 6c214cdb..c328ee0b 100644 --- a/rtic-macros/src/codegen/bindings.rs +++ b/rtic-macros/src/codegen/bindings.rs @@ -1,10 +1,3 @@ -#[cfg(not(any( - feature = "cortex-m-source-masking", - feature = "cortex-m-basepri", - feature = "test-template" -)))] -compile_error!("No backend selected"); - #[cfg(any(feature = "cortex-m-source-masking", feature = "cortex-m-basepri"))] pub use cortex::*; -- cgit v1.2.3