diff --git a/mk/rt.mk b/mk/rt.mk index 6082baf01c9c..e9d77a1a3b94 100644 --- a/mk/rt.mk +++ b/mk/rt.mk @@ -9,7 +9,6 @@ RUNTIME_CS := rt/sync/timer.cpp \ rt/rust_builtin.cpp \ rt/rust_run_program.cpp \ rt/rust_crate_cache.cpp \ - rt/rust_comm.cpp \ rt/rust_env.cpp \ rt/rust_scheduler.cpp \ rt/rust_task.cpp \ diff --git a/src/rt/rust_comm.cpp b/src/rt/rust_comm.cpp deleted file mode 100644 index 7fa20e7cb5d1..000000000000 --- a/src/rt/rust_comm.cpp +++ /dev/null @@ -1,20 +0,0 @@ - -#include "rust_internal.h" - -template class ptr_vec; - -rust_alarm::rust_alarm(rust_task *receiver) : - receiver(receiver) -{ -} - -// -// Local Variables: -// mode: C++ -// fill-column: 78; -// indent-tabs-mode: nil -// c-basic-offset: 4 -// buffer-file-coding-system: utf-8-unix -// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'"; -// End: -// diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index 486e985f6147..069bfb9a6cb2 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -290,22 +290,6 @@ struct type_desc { const type_desc *descs[]; }; -// An alarm can be put into a wait queue and the task will be notified -// when the wait queue is flushed. - -struct -rust_alarm -{ - rust_task *receiver; - size_t idx; - - rust_alarm(rust_task *receiver); -}; - - -typedef ptr_vec rust_wait_queue; - - #include "circular_buffer.h" #include "rust_task.h" #include "rust_chan.h"