diff options
Diffstat (limited to 'embassy-executor/src/lib.rs')
| -rw-r--r-- | embassy-executor/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/embassy-executor/src/lib.rs b/embassy-executor/src/lib.rs index d8ac4893b..897696150 100644 --- a/embassy-executor/src/lib.rs +++ b/embassy-executor/src/lib.rs | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #![cfg_attr(not(any(feature = "arch-std", feature = "arch-wasm")), no_std)] | 1 | #![cfg_attr(not(any(feature = "arch-std", feature = "arch-wasm")), no_std)] |
| 2 | #![cfg_attr(feature = "arch-xtensa", feature(asm_experimental_arch))] | ||
| 3 | #![allow(clippy::new_without_default)] | 2 | #![allow(clippy::new_without_default)] |
| 4 | #![doc = include_str!("../README.md")] | 3 | #![doc = include_str!("../README.md")] |
| 5 | #![warn(missing_docs)] | 4 | #![warn(missing_docs)] |
| @@ -21,12 +20,11 @@ macro_rules! check_at_most_one { | |||
| 21 | check_at_most_one!(@amo [$($f)*] [$($f)*] []); | 20 | check_at_most_one!(@amo [$($f)*] [$($f)*] []); |
| 22 | }; | 21 | }; |
| 23 | } | 22 | } |
| 24 | check_at_most_one!("arch-cortex-m", "arch-riscv32", "arch-xtensa", "arch-std", "arch-wasm",); | 23 | check_at_most_one!("arch-cortex-m", "arch-riscv32", "arch-std", "arch-wasm",); |
| 25 | 24 | ||
| 26 | #[cfg(feature = "_arch")] | 25 | #[cfg(feature = "_arch")] |
| 27 | #[cfg_attr(feature = "arch-cortex-m", path = "arch/cortex_m.rs")] | 26 | #[cfg_attr(feature = "arch-cortex-m", path = "arch/cortex_m.rs")] |
| 28 | #[cfg_attr(feature = "arch-riscv32", path = "arch/riscv32.rs")] | 27 | #[cfg_attr(feature = "arch-riscv32", path = "arch/riscv32.rs")] |
| 29 | #[cfg_attr(feature = "arch-xtensa", path = "arch/xtensa.rs")] | ||
| 30 | #[cfg_attr(feature = "arch-std", path = "arch/std.rs")] | 28 | #[cfg_attr(feature = "arch-std", path = "arch/std.rs")] |
| 31 | #[cfg_attr(feature = "arch-wasm", path = "arch/wasm.rs")] | 29 | #[cfg_attr(feature = "arch-wasm", path = "arch/wasm.rs")] |
| 32 | mod arch; | 30 | mod arch; |
