Skip to content

Commit 584ff01

Browse files
committed
---
yaml --- r: 48783 b: refs/heads/snap-stage3 c: d30c758 h: refs/heads/master i: 48781: a156dcc 48779: 7daf745 48775: ef2f3c2 48767: fe7df73 v: v3
1 parent e9b012e commit 584ff01

File tree

9 files changed

+1958
-20
lines changed

9 files changed

+1958
-20
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: e8ddef93da5f112795eff66ff7dc7ccccc1baa86
4+
refs/heads/snap-stage3: d30c75897416621092023063b885494f2a64e406
55
refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/rt/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ macro_rules! rtdebug (
3737

3838
mod sched;
3939
mod io;
40+
pub mod uvll;
4041
mod uvio;
4142
mod uv;
4243
// FIXME #5248: The import in `sched` doesn't resolve unless this is pub!

branches/snap-stage3/src/libcore/rt/uv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use libc::{c_void, c_int, size_t, malloc, free, ssize_t};
4343
use cast::{transmute, transmute_mut_region};
4444
use ptr::null;
4545
use sys::size_of;
46-
use unstable::uvll;
46+
use super::uvll;
4747
use super::io::{IpAddr, Ipv4, Ipv6};
4848

4949
#[cfg(test)] use unstable::run_in_bare_thread;

branches/snap-stage3/src/libcore/unstable.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ pub mod extfmt;
3535
#[path = "unstable/lang.rs"]
3636
#[cfg(notest)]
3737
pub mod lang;
38-
#[path = "unstable/uvll.rs"]
39-
pub mod uvll;
4038

4139
mod rustrt {
4240
use unstable::{raw_thread, rust_little_lock};

branches/snap-stage3/src/libstd/net_ip.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ use core::vec;
2121
use iotask = uv::iotask::IoTask;
2222
use interact = uv::iotask::interact;
2323

24-
use sockaddr_in = core::unstable::uvll::sockaddr_in;
25-
use sockaddr_in6 = core::unstable::uvll::sockaddr_in6;
26-
use addrinfo = core::unstable::uvll::addrinfo;
27-
use uv_getaddrinfo_t = core::unstable::uvll::uv_getaddrinfo_t;
28-
use uv_ip4_name = core::unstable::uvll::ip4_name;
29-
use uv_ip4_port = core::unstable::uvll::ip4_port;
30-
use uv_ip6_name = core::unstable::uvll::ip6_name;
31-
use uv_ip6_port = core::unstable::uvll::ip6_port;
32-
use uv_getaddrinfo = core::unstable::uvll::getaddrinfo;
33-
use uv_freeaddrinfo = core::unstable::uvll::freeaddrinfo;
34-
use create_uv_getaddrinfo_t = core::unstable::uvll::getaddrinfo_t;
35-
use set_data_for_req = core::unstable::uvll::set_data_for_req;
36-
use get_data_for_req = core::unstable::uvll::get_data_for_req;
37-
use ll = core::unstable::uvll;
24+
use sockaddr_in = super::uv_ll::sockaddr_in;
25+
use sockaddr_in6 = super::uv_ll::sockaddr_in6;
26+
use addrinfo = super::uv_ll::addrinfo;
27+
use uv_getaddrinfo_t = super::uv_ll::uv_getaddrinfo_t;
28+
use uv_ip4_name = super::uv_ll::ip4_name;
29+
use uv_ip4_port = super::uv_ll::ip4_port;
30+
use uv_ip6_name = super::uv_ll::ip6_name;
31+
use uv_ip6_port = super::uv_ll::ip6_port;
32+
use uv_getaddrinfo = super::uv_ll::getaddrinfo;
33+
use uv_freeaddrinfo = super::uv_ll::freeaddrinfo;
34+
use create_uv_getaddrinfo_t = super::uv_ll::getaddrinfo_t;
35+
use set_data_for_req = super::uv_ll::set_data_for_req;
36+
use get_data_for_req = super::uv_ll::get_data_for_req;
37+
use ll = super::uv_ll;
3838

3939
/// An IP address
4040
pub enum IpAddr {

branches/snap-stage3/src/libstd/std.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ not required in or otherwise suitable for the core library.
3636
extern mod core(vers = "0.6");
3737
use core::*;
3838

39-
pub use uv_ll = core::unstable::uvll;
39+
pub mod uv_ll;
4040

4141
// General io and system-services modules
4242

branches/snap-stage3/src/libstd/uv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
* facilities.
3434
*/
3535

36-
pub use ll = core::unstable::uvll;
36+
pub use ll = super::uv_ll;
3737
pub use iotask = uv_iotask;
3838
pub use global_loop = uv_global_loop;

0 commit comments

Comments
 (0)