Skip to content

Commit 8d43724

Browse files
committed
minor rt cleanup
1 parent c68f2d9 commit 8d43724

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/rt/rust_task.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -574,15 +574,6 @@ sp_in_stk_seg(uintptr_t sp, stk_seg *stk) {
574574
return (uintptr_t)stk->data <= sp && sp <= stk->end;
575575
}
576576

577-
struct reset_args {
578-
rust_task *task;
579-
uintptr_t sp;
580-
};
581-
582-
void
583-
reset_stack_limit_on_c_stack(reset_args *args) {
584-
}
585-
586577
/*
587578
Called by landing pads during unwinding to figure out which stack segment we
588579
are currently running on and record the stack limit (which was not restored

src/rt/rust_task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ rust_task::call_on_rust_stack(void *args, void *fn_ptr) {
433433

434434
bool had_reentered_rust_stack = reentered_rust_stack;
435435
{
436-
// FIXME (#2875) This must be racy. Figure it out.
436+
// FIXME (#1868) This must be racy. Figure it out.
437437
scoped_lock with(lifecycle_lock);
438438
reentered_rust_stack = true;
439439
}

0 commit comments

Comments
 (0)