diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index e370181a2d4..a9246963ca4 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -342,12 +342,6 @@ void rust_task::fail_sched_loop() { sched_loop->fail(); } -frame_glue_fns* -rust_task::get_frame_glue_fns(uintptr_t fp) { - fp -= sizeof(uintptr_t); - return *((frame_glue_fns**) fp); -} - void rust_task::assert_is_running() { scoped_lock with(lifecycle_lock); diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 928c8ffdf21..bff4af09b32 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -347,8 +347,6 @@ public: // Propagate failure to the entire rust runtime. void fail_sched_loop(); - frame_glue_fns *get_frame_glue_fns(uintptr_t fp); - void *calloc(size_t size, const char *tag); // Use this function sparingly. Depending on the ref count is generally