about summary refs log tree commit diff
path: root/src/rt/rust_scheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_scheduler.cpp')
-rw-r--r--src/rt/rust_scheduler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rt/rust_scheduler.cpp b/src/rt/rust_scheduler.cpp
index 9719ec37715..7b6a0356b6b 100644
--- a/src/rt/rust_scheduler.cpp
+++ b/src/rt/rust_scheduler.cpp
@@ -282,9 +282,7 @@ rust_scheduler::start_main_loop() {
         DLOG(this, task,
              "Running task %p on worker %d",
              scheduled_task, id);
-        scheduled_task->running_on = id;
         activate(scheduled_task);
-        scheduled_task->running_on = -1;
 
         DLOG(this, task,
              "returned from task %s @0x%" PRIxPTR