about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-07-19 14:31:55 -0700
committerBrian Anderson <banderson@mozilla.com>2011-07-21 11:51:22 -0700
commitd79afd7916dc2b5353666c301b93c09fdba29134 (patch)
tree90c8c310a21a8126be1cd1eecaedcf3ddfd636e1 /src/rt/rust_upcall.cpp
parent3ae4dcd41e72d197e3882835253745f79588b04a (diff)
downloadrust-d79afd7916dc2b5353666c301b93c09fdba29134.tar.gz
rust-d79afd7916dc2b5353666c301b93c09fdba29134.zip
Improving move semantics for channel operations.
This lets us un-XFAIL task-comm-10.rs.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index 8a61e5e95a5..8313399130c 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -130,7 +130,7 @@ upcall_new_chan(rust_task *task, rust_port *port) {
         (uintptr_t) task, task->name, port);
     I(sched, port);
     return new (task->kernel, "rust_chan")
-        rust_chan(task, port, port->unit_sz);
+        rust_chan(task->kernel, port, port->unit_sz);
 }
 
 /**