aboutsummaryrefslogtreecommitdiff
path: root/macros/src/syntax.rs
AgeCommit message (Collapse)Author
2019-04-16check task priority at compile timeJorge Aparicio
before we were checking the priority at runtime. The compile time error message when the priority is too high is kind of awful though.
2019-02-26refactor: make `binds` harder to misuseJorge Aparicio
2019-02-26`binds` can only appear once in the argument listJorge Aparicio
2019-02-26add `binds` argument to the `interrupt` and `exception` attributesJorge Aparicio
2019-02-23reject duplicate arguments in #[interrupt] and #[exception]Jorge Aparicio
This program was being accepted: ``` rust #[task( capacity = 1, capacity = 2, priority = 1, priority = 2, )] fn foo() {} ``` now it will trigger a compiler error
2019-02-16Make builds reproducibleHugo van der Wijst
This is done by using `BTreeMap`s and `BTreeSet`s to get deterministic ordering. Also updated the CI job to check reproducibility of all examples.
2019-02-12accept `init: fn() -> init::LateResources`Jorge Aparicio
2018-12-16move macros crate to the 2018 editionJorge Aparicio
2018-12-16properly handle `#[cfg]` (conditional compilation) on tasksJorge Aparicio
2018-12-16properly handle #[cfg] (conditional compilation) on resourcesJorge Aparicio
2018-12-15codegen/statics: forward #[cfg] attributesJorge Aparicio
fixes #110
2018-11-03v0.4.0Jorge Aparicio
closes #32 closes #33