diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-13 22:13:40 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-04-15 19:19:49 +0200 |
| commit | 2ba09dd68d73d624af75be4880df36ce82efe2bc (patch) | |
| tree | c075eb1e75430bf4fb6d2b8bf2b9c2de9442a1e0 /rtic-macros/src/codegen | |
| parent | 68ccf0423d27041c35002f9a86bb0e764e3782b3 (diff) | |
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)
Diffstat (limited to 'rtic-macros/src/codegen')
| -rw-r--r-- | rtic-macros/src/codegen/bindings.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/rtic-macros/src/codegen/bindings.rs b/rtic-macros/src/codegen/bindings.rs index 6c214cd..c328ee0 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::*; |
