diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-08 14:26:16 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-08 14:28:41 -0800 |
| commit | 68f82de8178ca5f7ed7a3803fdc41f84fc97664b (patch) | |
| tree | edb675d22632be1ce410139b36702de1a1924973 /src/test | |
| parent | 2f8b69534435d8dc459e5731d8fb41b22725b37f (diff) | |
| download | rust-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.rs | 4 |
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(); } |
