diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-10-17 13:39:27 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-11-08 20:40:39 -0800 |
| commit | fa94fdad3e880d2d6cbd82c12bd12caefbeb81a8 (patch) | |
| tree | 0106666f15341d9d050e99ca73acaf3a2d22d7a5 /src/libgreen/basic.rs | |
| parent | 431dcdc840a27f7c7418b7dff73a329eada8a407 (diff) | |
| download | rust-fa94fdad3e880d2d6cbd82c12bd12caefbeb81a8.tar.gz rust-fa94fdad3e880d2d6cbd82c12bd12caefbeb81a8.zip | |
Runtime removal: fully remove rtio
This patch cleans up the remnants of the runtime IO interface. Because this eliminates APIs in `libnative` and `librustrt`, it is a: [breaking-change] This functionality is likely to be available publicly, in some form, from `std` in the future.
Diffstat (limited to 'src/libgreen/basic.rs')
| -rw-r--r-- | src/libgreen/basic.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libgreen/basic.rs b/src/libgreen/basic.rs index b476f46833b..e2b8eb54ac3 100644 --- a/src/libgreen/basic.rs +++ b/src/libgreen/basic.rs @@ -18,7 +18,7 @@ use alloc::arc::Arc; use std::sync::atomic; use std::mem; -use std::rt::rtio::{EventLoop, IoFactory, RemoteCallback}; +use std::rt::rtio::{EventLoop, RemoteCallback}; use std::rt::rtio::{PausableIdleCallback, Callback}; use std::rt::exclusive::Exclusive; @@ -150,8 +150,6 @@ impl EventLoop for BasicLoop { Box<RemoteCallback + Send> } - fn io<'a>(&'a mut self) -> Option<&'a mut IoFactory> { None } - fn has_active_io(&self) -> bool { false } } |
