refactor: autodetect macro variant

Export all main macro per target architecture from embassy-macros,
and select the appropriate macro in embassy-executor.
This commit is contained in:
Ulf Lilleengen
2022-11-22 22:04:42 +01:00
parent 2fa2c1a6fe
commit 04a7d97673
5 changed files with 145 additions and 63 deletions

View File

@ -21,9 +21,5 @@ proc-macro2 = "1.0.29"
proc-macro = true
[features]
std = []
wasm = []
riscv = []
# Enabling this cause interrupt::take! to require embassy-executor
rtos-trace-interrupt = []