auto merge of #5704 : brson/rust/compiletest, r=luqmana

This commit is contained in:
bors 2013-04-03 17:57:48 -07:00
commit 783392f70f

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 // Make sure we include the aux directory in the path
assert!(prog.ends_with(~".exe")); 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| { env = do vec::map(env) |pair| {
let (k,v) = *pair; let (k,v) = *pair;