about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-10-13 21:23:07 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-20 18:23:47 -0700
commit686d6a485f71b98fe9ea7dddd25de0c33efeea7a (patch)
treeff8e3797ed4a3f45c2b7417ba5fbcf9958d132c4 /src/compiletest
parente0bba33caaeeda99753ec0355d570665f9912d03 (diff)
Drop the 2 from the spawn*2 functions
Issue #1022
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/compiletest.rs2
-rw-r--r--src/compiletest/procsrv.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs
index fdf158451c3..da550f1735b 100644
--- a/src/compiletest/compiletest.rs
+++ b/src/compiletest/compiletest.rs
@@ -191,7 +191,7 @@ fn closure_to_task(cx: cx, configport: port<[u8]>, testfn: fn()) ->
     testfn();
     let testfile = recv(configport);
 
-    ret task::spawn_joinable2(
+    ret task::spawn_joinable(
         (cx.config, cx.procsrv.chan, testfile), run_test_task);
 }
 
diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs
index 3d2f622ed34..099968a23ea 100644
--- a/src/compiletest/procsrv.rs
+++ b/src/compiletest/procsrv.rs
@@ -37,7 +37,7 @@ type response = {pid: int, infd: int, outfd: int, errfd: int};
 
 fn mk() -> handle {
     let setupport = port();
-    let task = task::spawn_joinable2(
+    let task = task::spawn_joinable(
         chan(setupport),
         fn# (setupchan: chan<chan<request>>) {
             let reqport = port();