Skip to content

Commit 0fedea3

Browse files
committed
rt: Remove rust_alarm dead code
1 parent c11f8a4 commit 0fedea3

File tree

3 files changed

+0
-37
lines changed

3 files changed

+0
-37
lines changed

mk/rt.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ RUNTIME_CS := rt/sync/timer.cpp \
99
rt/rust_builtin.cpp \
1010
rt/rust_run_program.cpp \
1111
rt/rust_crate_cache.cpp \
12-
rt/rust_comm.cpp \
1312
rt/rust_env.cpp \
1413
rt/rust_scheduler.cpp \
1514
rt/rust_task.cpp \

src/rt/rust_comm.cpp

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/rt/rust_internal.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -290,22 +290,6 @@ struct type_desc {
290290
const type_desc *descs[];
291291
};
292292

293-
// An alarm can be put into a wait queue and the task will be notified
294-
// when the wait queue is flushed.
295-
296-
struct
297-
rust_alarm
298-
{
299-
rust_task *receiver;
300-
size_t idx;
301-
302-
rust_alarm(rust_task *receiver);
303-
};
304-
305-
306-
typedef ptr_vec<rust_alarm> rust_wait_queue;
307-
308-
309293
#include "circular_buffer.h"
310294
#include "rust_task.h"
311295
#include "rust_chan.h"

0 commit comments

Comments
 (0)