Skip to content

Commit a48a0d1

Browse files
committed
---
yaml --- r: 22558 b: refs/heads/master c: 54cd5e1 h: refs/heads/master v: v3
1 parent f0de0d0 commit a48a0d1

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 3ef7ff8b892aa2ad7e821d8858c349e22d1197ba
2+
refs/heads/master: 54cd5e1814682e95360e591440274550ee312da4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/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
}

trunk/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

trunk/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)