summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-11-08 14:26:16 -0800
committerBrian Anderson <banderson@mozilla.com>2011-11-08 14:28:41 -0800
commit68f82de8178ca5f7ed7a3803fdc41f84fc97664b (patch)
treeedb675d22632be1ce410139b36702de1a1924973 /src/test
parent2f8b69534435d8dc459e5731d8fb41b22725b37f (diff)
downloadrust-68f82de8178ca5f7ed7a3803fdc41f84fc97664b.tar.gz
rust-68f82de8178ca5f7ed7a3803fdc41f84fc97664b.zip
rt: Remove task_yield builtin
This is just a special case of task_sleep
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/bind-native.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/bind-native.rs b/src/test/run-pass/bind-native.rs
index 4ddabe857bb..f67fb96c4d4 100644
--- a/src/test/run-pass/bind-native.rs
+++ b/src/test/run-pass/bind-native.rs
@@ -3,7 +3,7 @@ Can we bind native things?
 */
 
 native "c-stack-cdecl" mod rustrt {
-    fn task_yield();
+    fn task_sleep();
 }
 
-fn main() { bind rustrt::task_yield(); }
+fn main() { bind rustrt::task_sleep(); }