Skip to content

Commit 219c1c7

Browse files
committed
extra: Remove uv, net, timer code
This will all be reimplemented in the new runtime.
1 parent 2f7d86f commit 219c1c7

16 files changed

+9
-6327
lines changed

src/libextra/extra.rs

-14
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,9 @@ use std::str::{StrSlice, OwnedStr};
3636

3737
pub use std::os;
3838

39-
pub mod uv_ll;
40-
41-
// General io and system-services modules
42-
43-
#[path = "net/mod.rs"]
44-
pub mod net;
45-
46-
// libuv modules
47-
pub mod uv;
48-
pub mod uv_iotask;
49-
pub mod uv_global_loop;
50-
51-
5239
// Utility modules
5340

5441
pub mod c_vec;
55-
pub mod timer;
5642
pub mod io_util;
5743
pub mod rc;
5844

src/libextra/flatpipes.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,6 @@ mod test {
639639
use flatpipes::serial;
640640
use io_util::BufReader;
641641
use flatpipes::{BytePort, FlatChan, FlatPort};
642-
use net::tcp::TcpSocketBuf;
643642

644643
use std::comm;
645644
use std::int;
@@ -728,7 +727,8 @@ mod test {
728727
}
729728

730729
// FIXME #2064: Networking doesn't work on x86
731-
#[test]
730+
// XXX Broken until networking support is added back
731+
/*#[test]
732732
#[cfg(target_arch = "x86_64")]
733733
fn test_pod_tcp_stream() {
734734
fn reader_port(buf: TcpSocketBuf
@@ -745,6 +745,7 @@ mod test {
745745
#[test]
746746
#[cfg(target_arch = "x86_64")]
747747
fn test_serializing_tcp_stream() {
748+
// XXX Broken until networking support is added back
748749
fn reader_port(buf: TcpSocketBuf
749750
) -> serial::ReaderPort<int, TcpSocketBuf> {
750751
serial::reader_port(buf)
@@ -860,7 +861,7 @@ mod test {
860861
}
861862
862863
finish_port.recv();
863-
}
864+
}*/
864865

865866
// Tests that the different backends behave the same when the
866867
// binary streaming protocol is broken

0 commit comments

Comments
 (0)