Skip to content

Commit cdeac4d

Browse files
committed
---
yaml --- r: 6251 b: refs/heads/master c: 5e0e32f h: refs/heads/master i: 6249: a058200 6247: b3e7326 v: v3
1 parent dbbb00a commit cdeac4d

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 5d1e321ecbdaf50fe4723b698081c7cda60d366a
2+
refs/heads/master: 5e0e32faac1af7b239f5d1f11d6afa620c96a781

trunk/src/lib/comm.rs

-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ native "cdecl" mod rustrt {
4444

4545
fn new_port(unit_sz: uint) -> *rust_port;
4646
fn del_port(po: *rust_port);
47-
fn drop_port(po: *rust_port);
4847
fn get_port_id(po: *rust_port) -> port_id;
4948
}
5049

@@ -77,7 +76,6 @@ tag chan<uniq T> {
7776
}
7877

7978
resource port_ptr(po: *rustrt::rust_port) {
80-
rustrt::drop_port(po);
8179
rustrt::del_port(po);
8280
}
8381

trunk/src/rt/rust_builtin.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,6 @@ get_port_id(rust_port *port) {
479479
return port->id;
480480
}
481481

482-
extern "C" CDECL
483-
void drop_port(rust_port *port) {
484-
}
485-
486482
extern "C" CDECL void
487483
chan_id_send(type_desc *t, rust_task_id target_task_id,
488484
rust_port_id target_port_id, void *sptr) {

trunk/src/rt/rustrt.def.in

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ debug_ptrcast
1010
debug_tag
1111
debug_tydesc
1212
do_gc
13-
drop_port
1413
drop_task
1514
get_port_id
1615
get_task_id

0 commit comments

Comments
 (0)