diff options
| author | Ulf Lilleengen <[email protected]> | 2022-11-22 22:04:42 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-11-23 13:54:59 +0100 |
| commit | 04a7d976733e021395ff26e26dfa983e67b773a0 (patch) | |
| tree | c910e1015bbeb04ea26f1b53db5feb28827889d3 /embassy-executor/Cargo.toml | |
| parent | 2fa2c1a6fe9c79f11f7382a63ba6a13fe1bae1be (diff) | |
refactor: autodetect macro variant
Export all main macro per target architecture from embassy-macros,
and select the appropriate macro in embassy-executor.
Diffstat (limited to 'embassy-executor/Cargo.toml')
| -rw-r--r-- | embassy-executor/Cargo.toml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 45b0955bf..6fa1dd7fb 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -29,9 +29,8 @@ flavors = [ | |||
| 29 | 29 | ||
| 30 | [features] | 30 | [features] |
| 31 | default = [] | 31 | default = [] |
| 32 | std = ["embassy-macros/std", "critical-section/std"] | 32 | std = ["critical-section/std"] |
| 33 | wasm = ["dep:wasm-bindgen", "dep:js-sys", "embassy-macros/wasm"] | 33 | wasm = ["dep:wasm-bindgen", "dep:js-sys"] |
| 34 | riscv = ["embassy-macros/riscv"] | ||
| 35 | 34 | ||
| 36 | # Enable nightly-only features | 35 | # Enable nightly-only features |
| 37 | nightly = [] | 36 | nightly = [] |
