diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 53650beea38..36912ae428d 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -518,11 +518,6 @@ void drop_port(rust_port *port) { port->ref_count--; } -extern "C" CDECL -void chan_send(rust_chan *chan, void *sptr) { - chan->send(sptr); -} - extern "C" CDECL void chan_id_send(type_desc *t, rust_task_id target_task_id, rust_port_id target_port_id, void *sptr) { diff --git a/src/rt/rustrt.def.in b/src/rt/rustrt.def.in index 3063d57f801..f74947be0b6 100644 --- a/src/rt/rustrt.def.in +++ b/src/rt/rustrt.def.in @@ -10,7 +10,6 @@ aio_stop aio_writedata align_of chan_id_send -chan_send check_claims debug_box debug_fn