aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/tests/ui/task_safety_attribute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/tests/ui/task_safety_attribute.rs')
-rw-r--r--embassy-executor/tests/ui/task_safety_attribute.rs2
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]
10async unsafe fn not_safe() {} 10async unsafe fn not_safe() {}
11 11
12#[export_name = "__pender"] 12#[unsafe(export_name = "__pender")]
13fn pender(_: *mut ()) { 13fn 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.