diff options
Diffstat (limited to 'embassy-executor/src/arch/cortex_ar.rs')
| -rw-r--r-- | embassy-executor/src/arch/cortex_ar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/arch/cortex_ar.rs b/embassy-executor/src/arch/cortex_ar.rs index f9e2f3f7c..36d45944a 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`. |
