diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index a4afb1c0bc5..72979d67eef 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -152,8 +152,6 @@ cleanup_task(cleanup_args *args) { #endif } -extern "C" CDECL void upcall_exchange_free(void *ptr); - // This runs on the Rust stack void task_start_wrapper(spawn_args *a) {