Skip to content

Commit 34b2336

Browse files
committed
Fix compiletest on windows
1 parent 260d74d commit 34b2336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiletest/procsrv.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn target_env(lib_path: ~str, prog: ~str) -> ~[(~str,~str)] {
2626

2727
// Make sure we include the aux directory in the path
2828
assert!(prog.ends_with(~".exe"));
29-
let aux_path = prog.slice(0u, prog.len() - 4u) + ~".libaux";
29+
let aux_path = prog.slice(0u, prog.len() - 4u).to_owned() + ~".libaux";
3030
3131
env = do vec::map(env) |pair| {
3232
let (k,v) = *pair;

0 commit comments

Comments
 (0)