Skip to content

Commit 853c187

Browse files
committed
---
yaml --- r: 6894 b: refs/heads/master c: 128621b h: refs/heads/master v: v3
1 parent ac04cce commit 853c187

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 2841ce78221f7d6554ea5da249a5f0f8ffef416a
2+
refs/heads/master: 128621be97d425a1d19e6640c8aee4fb6fca430b

trunk/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) {

trunk/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)