about summary refs log tree commit diff
path: root/src/rt/rust_task_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
-rw-r--r--src/rt/rust_task_thread.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp
index fd7c10ef676..8611e6e0f79 100644
--- a/src/rt/rust_task_thread.cpp
+++ b/src/rt/rust_task_thread.cpp
@@ -24,7 +24,6 @@ rust_task_thread::rust_task_thread(rust_scheduler *sched,
                                    int id) :
     rust_thread(SCHED_STACK_SIZE),
     _log(srv, this),
-    cache(this),
     id(id),
     should_exit(false),
     cached_c_stack(NULL),
@@ -295,11 +294,6 @@ rust_task_thread::start_main_loop() {
     }
 }
 
-rust_crate_cache *
-rust_task_thread::get_cache() {
-    return &cache;
-}
-
 rust_task *
 rust_task_thread::create_task(rust_task *spawner, const char *name,
                             size_t init_stack_sz) {