Fix compiletest on windows

This commit is contained in:
Brian Anderson 2013-04-03 11:54:49 -07:00
parent 260d74dfcc
commit 34b2336dd0

View File

@ -26,7 +26,7 @@ fn target_env(lib_path: ~str, prog: ~str) -> ~[(~str,~str)] {
// Make sure we include the aux directory in the path
assert!(prog.ends_with(~".exe"));
let aux_path = prog.slice(0u, prog.len() - 4u) + ~".libaux";
let aux_path = prog.slice(0u, prog.len() - 4u).to_owned() + ~".libaux";
env = do vec::map(env) |pair| {
let (k,v) = *pair;