about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2012-07-14 11:05:10 -0700
committerMichael Sullivan <sully@msully.net>2012-07-14 11:05:10 -0700
commit13c377b3b5c60d9cc8f688390b5137e1ecd903ef (patch)
tree2eb746bfab08cff63e59382cc44ac6cbce74cb5c /src/compiletest
parentb1dafe49afafd4650c4071cf64deaea113072eff (diff)
downloadrust-13c377b3b5c60d9cc8f688390b5137e1ecd903ef.tar.gz
rust-13c377b3b5c60d9cc8f688390b5137e1ecd903ef.zip
More platform specific deprecated strings...
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/util.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiletest/util.rs b/src/compiletest/util.rs
index 7a38ffcc212..34d5b685a1b 100644
--- a/src/compiletest/util.rs
+++ b/src/compiletest/util.rs
@@ -20,10 +20,10 @@ fn make_new_path(path: ~str) -> ~str {
 fn lib_path_env_var() -> ~str { ~"LD_LIBRARY_PATH" }
 
 #[cfg(target_os = "macos")]
-fn lib_path_env_var() -> str { "DYLD_LIBRARY_PATH" }
+fn lib_path_env_var() -> ~str { ~"DYLD_LIBRARY_PATH" }
 
 #[cfg(target_os = "win32")]
-fn lib_path_env_var() -> str { "PATH" }
+fn lib_path_env_var() -> ~str { ~"PATH" }
 
 #[cfg(target_os = "linux")]
 #[cfg(target_os = "macos")]
@@ -31,7 +31,7 @@ fn lib_path_env_var() -> str { "PATH" }
 fn path_div() -> ~str { ~":" }
 
 #[cfg(target_os = "win32")]
-fn path_div() -> str { ";" }
+fn path_div() -> str { ~";" }
 
 fn logv(config: config, s: ~str) {
     log(debug, s);