diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-04-03 11:54:49 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-04-03 11:54:49 -0700 |
| commit | 34b2336dd08c7d8eeb8a79cb9c06c89ccb1639cb (patch) | |
| tree | 4cb8f6f3648b101d352a9a71fa0246fa6ab346f1 /src | |
| parent | 260d74dfcc095d02add8fc97c31922824ddf92fd (diff) | |
Fix compiletest on windows
Diffstat (limited to 'src')
| -rw-r--r-- | src/compiletest/procsrv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
