Skip to content

Commit c6c57d6

Browse files
committed
---
yaml --- r: 31220 b: refs/heads/dist-snap c: 54cd5e1 h: refs/heads/master v: v3
1 parent 58ab00a commit c6c57d6

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: 3ef7ff8b892aa2ad7e821d8858c349e22d1197ba
10+
refs/heads/dist-snap: 54cd5e1814682e95360e591440274550ee312da4
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/src/compiletest/procsrv.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ import libc::{c_int, pid_t};
55
export run;
66

77
#[cfg(target_os = "win32")]
8-
fn target_env(lib_path: str, prog: str) -> ~[(str,str)] {
8+
fn target_env(lib_path: ~str, prog: ~str) -> ~[(~str,~str)] {
99

1010
let mut env = os::env();
1111

1212
// Make sure we include the aux directory in the path
13-
assert prog.ends_with(".exe");
14-
let aux_path = prog.slice(0u, prog.len() - 4u) + ".libaux";
13+
assert prog.ends_with(~".exe");
14+
let aux_path = prog.slice(0u, prog.len() - 4u) + ~".libaux";
1515

1616
env = do vec::map(env) |pair| {
1717
let (k,v) = pair;
18-
if k == "PATH" { ("PATH", v + ";" + lib_path + ";" + aux_path) }
18+
if k == ~"PATH" { (~"PATH", v + ~";" + lib_path + ~";" + aux_path) }
1919
else { (k,v) }
2020
};
21-
if str::ends_with(prog, "rustc.exe") {
22-
vec::push(env, ("RUST_THREADS", "1"));
21+
if str::ends_with(prog, ~"rustc.exe") {
22+
vec::push(env, (~"RUST_THREADS", ~"1"));
2323
}
2424
ret env;
2525
}

branches/dist-snap/src/compiletest/runtest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,9 @@ fn make_cmdline(_libpath: ~str, prog: ~str, args: ~[~str]) -> ~str {
434434
}
435435
436436
#[cfg(target_os = "win32")]
437-
fn make_cmdline(libpath: str, prog: str, args: ~[str]) -> str {
437+
fn make_cmdline(libpath: ~str, prog: ~str, args: ~[~str]) -> ~str {
438438
#fmt["%s %s %s", lib_path_cmd_prefix(libpath), prog,
439-
str::connect(args, " ")]
439+
str::connect(args, ~" ")]
440440
}
441441
442442
// Build the LD_LIBRARY_PATH variable as it would be seen on the command line

branches/dist-snap/src/compiletest/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn lib_path_env_var() -> ~str { ~"PATH" }
3131
fn path_div() -> ~str { ~":" }
3232

3333
#[cfg(target_os = "win32")]
34-
fn path_div() -> str { ~";" }
34+
fn path_div() -> ~str { ~";" }
3535

3636
fn logv(config: config, s: ~str) {
3737
log(debug, s);

0 commit comments

Comments
 (0)