Skip to content

Commit d628972

Browse files
committed
---
yaml --- r: 6240 b: refs/heads/master c: f5c4ce7 h: refs/heads/master v: v3
1 parent 6658079 commit d628972

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
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: e4f980810b8787626b32fc116e491c0ff9e56ba0
2+
refs/heads/master: f5c4ce79a7d5081f8fef69b496908ba4bce640e4

trunk/src/rt/rust_builtin.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -484,23 +484,6 @@ get_port_id(rust_port *port) {
484484
return port->id;
485485
}
486486

487-
extern "C" CDECL
488-
void del_chan(rust_chan *chan) {
489-
rust_task *task = rust_scheduler::get_task();
490-
LOG(task, comm, "del_chan(0x%" PRIxPTR ")", (uintptr_t) chan);
491-
I(task->sched, false);
492-
}
493-
494-
extern "C" CDECL
495-
void take_chan(rust_chan *chan) {
496-
chan->ref();
497-
}
498-
499-
extern "C" CDECL
500-
void drop_chan(rust_chan *chan) {
501-
chan->deref();
502-
}
503-
504487
extern "C" CDECL
505488
void drop_port(rust_port *port) {
506489
port->ref_count--;

0 commit comments

Comments
 (0)