diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-10-06 22:55:38 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-10-06 23:19:53 +0200 |
| commit | abc8e450f936567ad42cb34b5d2a7941b206aa5d (patch) | |
| tree | 57b8ec55ad4fc9048524f2899b34198c5a8e61df /embassy-executor/tests/ui | |
| parent | e2a2bd3c573928208a4c85e7fcd6ad630f23f47d (diff) | |
Edition 2024.
Diffstat (limited to 'embassy-executor/tests/ui')
| -rw-r--r-- | embassy-executor/tests/ui/task_safety_attribute.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/tests/ui/task_safety_attribute.rs b/embassy-executor/tests/ui/task_safety_attribute.rs index ab5a2f99f..46a5c665f 100644 --- a/embassy-executor/tests/ui/task_safety_attribute.rs +++ b/embassy-executor/tests/ui/task_safety_attribute.rs | |||
| @@ -9,7 +9,7 @@ async fn safe() {} | |||
| 9 | #[embassy_executor::task] | 9 | #[embassy_executor::task] |
| 10 | async unsafe fn not_safe() {} | 10 | async unsafe fn not_safe() {} |
| 11 | 11 | ||
| 12 | #[export_name = "__pender"] | 12 | #[unsafe(export_name = "__pender")] |
| 13 | fn pender(_: *mut ()) { | 13 | fn pender(_: *mut ()) { |
| 14 | // The test doesn't link if we don't include this. | 14 | // The test doesn't link if we don't include this. |
| 15 | // We never call this anyway. | 15 | // We never call this anyway. |
