Skip to content

Commit 4890a25

Browse files
committed
---
yaml --- r: 98275 b: refs/heads/master c: c62ef2e h: refs/heads/master i: 98273: 6a370d0 98271: b4112de v: v3
1 parent a2ecdfc commit 4890a25

File tree

7 files changed

+211
-160
lines changed

7 files changed

+211
-160
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b6f6e49a7e325d6dc9250def979ab93e76af7b29
2+
refs/heads/master: c62ef2e807577f12f12b72bba7a506f5daf1f48f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b6400f998497c3958f40997a71756ead344a776d
55
refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36

trunk/src/compiletest/runtest.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ fn run_pretty_test(config: &config, props: &TestProps, testfile: &Path) {
206206
}
207207

208208
fn make_pp_args(config: &config, _testfile: &Path) -> ProcArgs {
209-
let args = ~[~"-", ~"--pretty", ~"normal"];
209+
let args = ~[~"-", ~"--pretty", ~"normal",
210+
~"--target=" + config.target];
210211
// FIXME (#9639): This needs to handle non-utf8 paths
211212
return ProcArgs {prog: config.rustc_path.as_str().unwrap().to_owned(), args: args};
212213
}

trunk/src/librustuv/addrinfo.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// except according to those terms.
1010

1111
use ai = std::io::net::addrinfo;
12-
use std::cast;
1312
use std::libc::c_int;
1413
use std::ptr::null;
1514
use std::rt::task::BlockedTask;
@@ -139,8 +138,7 @@ pub fn accum_addrinfo(addr: &Addrinfo) -> ~[ai::Info] {
139138

140139
let mut addrs = ~[];
141140
loop {
142-
let rustaddr = net::sockaddr_to_addr(cast::transmute((*addr).ai_addr),
143-
(*addr).ai_addrlen as uint);
141+
let rustaddr = net::sockaddr_to_socket_addr((*addr).ai_addr);
144142

145143
let mut flags = 0;
146144
each_ai_flag(|cval, aival| {

trunk/src/librustuv/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ via `close` and `delete` methods.
4747
use std::cast;
4848
use std::io;
4949
use std::io::IoError;
50-
use std::libc::c_int;
50+
use std::libc::{c_int, malloc};
5151
use std::ptr::null;
5252
use std::ptr;
5353
use std::rt::local::Local;

0 commit comments

Comments
 (0)