Skip to content

Commit 128621b

Browse files
committed
rt: Remove rust_task::grow. Obsolete
1 parent 2841ce7 commit 128621b

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/rt/rust_task.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -397,16 +397,6 @@ void rust_task::start()
397397
sched->lock.signal();
398398
}
399399

400-
void
401-
rust_task::grow(size_t n_frame_bytes)
402-
{
403-
// FIXME (issue #151): Just fail rather than almost certainly crashing
404-
// mysteriously later. The commented-out logic below won't work at all in
405-
// the presence of non-word-aligned pointers.
406-
abort();
407-
408-
}
409-
410400
// Only run this on the rust stack
411401
void
412402
rust_task::yield(size_t time_in_us, bool *killed) {

src/rt/rust_task.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ rust_task : public kernel_owned<rust_task>, rust_cond
138138
void start(uintptr_t spawnee_fn,
139139
uintptr_t args);
140140
void start();
141-
void grow(size_t n_frame_bytes);
142141
bool running();
143142
bool blocked();
144143
bool blocked_on(rust_cond *cond);

0 commit comments

Comments
 (0)