From d8d25369678249be4dae7ba2738a7f0a5c3268f8 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 30 Oct 2025 13:52:22 +0100 Subject: executor: fix build with 'trace' on. --- embassy-executor/src/raw/trace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embassy-executor/src') diff --git a/embassy-executor/src/raw/trace.rs b/embassy-executor/src/raw/trace.rs index 74519b927..830162039 100644 --- a/embassy-executor/src/raw/trace.rs +++ b/embassy-executor/src/raw/trace.rs @@ -169,7 +169,7 @@ impl TaskTracker { } #[cfg(feature = "trace")] -extern "Rust" { +unsafe extern "Rust" { /// This callback is called when the executor begins polling. This will always /// be paired with a later call to `_embassy_trace_executor_idle`. /// -- cgit