From 34b2336dd08c7d8eeb8a79cb9c06c89ccb1639cb Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 3 Apr 2013 11:54:49 -0700 Subject: [PATCH] Fix compiletest on windows --- src/compiletest/procsrv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs index a96f36f5e70..ca10aa0da7d 100644 --- a/src/compiletest/procsrv.rs +++ b/src/compiletest/procsrv.rs @@ -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;