diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-10-06 21:26:55 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-06 21:26:55 +0000 |
| commit | 07016a4ffbe0b0ea689b83a6ddf19ab1b6a9a79a (patch) | |
| tree | de82055258c8e3962911e85426dc91f716f04a65 /embassy-executor/src/arch/cortex_ar.rs | |
| parent | e2a2bd3c573928208a4c85e7fcd6ad630f23f47d (diff) | |
| parent | dbf0416abd48190056a25828d8e5d8f889170f88 (diff) | |
Merge pull request #4744 from embassy-rs/edition2024
Edition 2024.
Diffstat (limited to 'embassy-executor/src/arch/cortex_ar.rs')
| -rw-r--r-- | embassy-executor/src/arch/cortex_ar.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-executor/src/arch/cortex_ar.rs b/embassy-executor/src/arch/cortex_ar.rs index f9e2f3f7c..a9be3d323 100644 --- a/embassy-executor/src/arch/cortex_ar.rs +++ b/embassy-executor/src/arch/cortex_ar.rs | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #[cfg(feature = "executor-interrupt")] | 1 | #[cfg(feature = "executor-interrupt")] |
| 2 | compile_error!("`executor-interrupt` is not supported with `arch-cortex-ar`."); | 2 | compile_error!("`executor-interrupt` is not supported with `arch-cortex-ar`."); |
| 3 | 3 | ||
| 4 | #[export_name = "__pender"] | 4 | #[unsafe(export_name = "__pender")] |
| 5 | #[cfg(any(feature = "executor-thread", feature = "executor-interrupt"))] | 5 | #[cfg(any(feature = "executor-thread", feature = "executor-interrupt"))] |
| 6 | fn __pender(context: *mut ()) { | 6 | fn __pender(context: *mut ()) { |
| 7 | // `context` is always `usize::MAX` created by `Executor::run`. | 7 | // `context` is always `usize::MAX` created by `Executor::run`. |
| @@ -26,7 +26,7 @@ mod thread { | |||
| 26 | use cortex_ar::asm::wfe; | 26 | use cortex_ar::asm::wfe; |
| 27 | pub use embassy_executor_macros::main_cortex_ar as main; | 27 | pub use embassy_executor_macros::main_cortex_ar as main; |
| 28 | 28 | ||
| 29 | use crate::{raw, Spawner}; | 29 | use crate::{Spawner, raw}; |
| 30 | 30 | ||
| 31 | /// Thread mode executor, using WFE/SEV. | 31 | /// Thread mode executor, using WFE/SEV. |
| 32 | /// | 32 | /// |
