diff options
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 651488b2ebe..5bea4925829 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -71,7 +71,6 @@ rust_task::rust_task(rust_task_thread *thread, rust_task_list *state, runtime_sp(0), sched(thread->sched), thread(thread), - cache(NULL), kernel(thread->kernel), name(name), list_index(-1), @@ -445,16 +444,6 @@ rust_task::die() { transition(&thread->running_tasks, &thread->dead_tasks, NULL, "none"); } -rust_crate_cache * -rust_task::get_crate_cache() -{ - if (!cache) { - DLOG(thread, task, "fetching cache for current crate"); - cache = thread->get_cache(); - } - return cache; -} - void rust_task::backtrace() { if (!log_rt_backtrace) return; |
