diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 6949df03f43..2e6c41a8e79 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -397,16 +397,6 @@ void rust_task::start() sched->lock.signal(); } -void -rust_task::grow(size_t n_frame_bytes) -{ - // FIXME (issue #151): Just fail rather than almost certainly crashing - // mysteriously later. The commented-out logic below won't work at all in - // the presence of non-word-aligned pointers. - abort(); - -} - // Only run this on the rust stack void rust_task::yield(size_t time_in_us, bool *killed) { diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 1f924793e3d..21d20691ac6 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -138,7 +138,6 @@ rust_task : public kernel_owned, rust_cond void start(uintptr_t spawnee_fn, uintptr_t args); void start(); - void grow(size_t n_frame_bytes); bool running(); bool blocked(); bool blocked_on(rust_cond *cond);