Skip to content

Commit 0dc8387

Browse files
committed
rt: Remove chan_send. Unused.
1 parent 2e8ebb7 commit 0dc8387

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/rt/rust_builtin.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -518,11 +518,6 @@ void drop_port(rust_port *port) {
518518
port->ref_count--;
519519
}
520520

521-
extern "C" CDECL
522-
void chan_send(rust_chan *chan, void *sptr) {
523-
chan->send(sptr);
524-
}
525-
526521
extern "C" CDECL void
527522
chan_id_send(type_desc *t, rust_task_id target_task_id,
528523
rust_port_id target_port_id, void *sptr) {

src/rt/rustrt.def.in

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ aio_stop
1010
aio_writedata
1111
align_of
1212
chan_id_send
13-
chan_send
1413
check_claims
1514
debug_box
1615
debug_fn

0 commit comments

Comments
 (0)