aboutsummaryrefslogtreecommitdiff
path: root/macros/src/lib.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-09-04 07:50:13 +0000
committerGravatar GitHub <noreply@github.com> 2020-09-04 07:50:13 +0000
commit7506bd8ae0ba335fc058c2138438fab5f20f6dab (patch)
treefe65b335b19171370bd6be0bd5cd6b776a1d6110 /macros/src/lib.rs
parentc5e6d1fa49e3596227a8ee8fe89e2e4f66db3169 (diff)
parentad2b80907899cc335edcebfc77ae4b4b51272b87 (diff)
downloadrtic-7506bd8ae0ba335fc058c2138438fab5f20f6dab.tar.gz
rtic-7506bd8ae0ba335fc058c2138438fab5f20f6dab.tar.zst
rtic-7506bd8ae0ba335fc058c2138438fab5f20f6dab.zip
Merge #355
355: Multi-core removal r=korken89 a=AfoHT Dependent on https://github.com/rtic-rs/rtic-syntax/pull/27 With the same reasoning as ^^ For now the testing is done against my rtic-syntax/multiremove-branch, but before we merge it should corrected. Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'macros/src/lib.rs')
-rw-r--r--macros/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index b5803628..7b72c7fb 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -201,12 +201,12 @@ mod tests;
///
/// Attributes can be applied to the functions inside this block. These attributes will be forwarded
/// to the interrupt handlers generated by the `app` attribute.
+
#[proc_macro_attribute]
pub fn app(args: TokenStream, input: TokenStream) -> TokenStream {
let mut settings = Settings::default();
settings.optimize_priorities = true;
settings.parse_binds = true;
- settings.parse_cores = cfg!(feature = "heterogeneous") || cfg!(feature = "homogeneous");
settings.parse_extern_interrupt = true;
settings.parse_schedule = true;