diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-01-30 14:10:03 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-01-30 14:30:42 -0800 |
| commit | 83ced67d0b6cccb0de8f3df133f7b580db6f74c5 (patch) | |
| tree | 057af423a943f5213ecfbc1f799973692a0dbd5b /src/compiletest/util.rs | |
| parent | d73bf6295231115bed44d2dc452c9971a25f84c6 (diff) | |
| download | rust-83ced67d0b6cccb0de8f3df133f7b580db6f74c5.tar.gz rust-83ced67d0b6cccb0de8f3df133f7b580db6f74c5.zip | |
librustdoc: De-export compiletest, combine-tests, libcargo, libfuzzer, and librustdoc. rs=deexporting
Diffstat (limited to 'src/compiletest/util.rs')
| -rw-r--r-- | src/compiletest/util.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/compiletest/util.rs b/src/compiletest/util.rs index 13614c58855..e4028549f28 100644 --- a/src/compiletest/util.rs +++ b/src/compiletest/util.rs @@ -17,7 +17,7 @@ use os::getenv; use common; use common::config; -fn make_new_path(path: ~str) -> ~str { +pub fn make_new_path(path: ~str) -> ~str { // Windows just uses PATH as the library search path, so we have to // maintain the current value while adding our own @@ -31,23 +31,23 @@ fn make_new_path(path: ~str) -> ~str { #[cfg(target_os = "linux")] #[cfg(target_os = "freebsd")] -fn lib_path_env_var() -> ~str { ~"LD_LIBRARY_PATH" } +pub fn lib_path_env_var() -> ~str { ~"LD_LIBRARY_PATH" } #[cfg(target_os = "macos")] -fn lib_path_env_var() -> ~str { ~"DYLD_LIBRARY_PATH" } +pub fn lib_path_env_var() -> ~str { ~"DYLD_LIBRARY_PATH" } #[cfg(target_os = "win32")] -fn lib_path_env_var() -> ~str { ~"PATH" } +pub fn lib_path_env_var() -> ~str { ~"PATH" } #[cfg(target_os = "linux")] #[cfg(target_os = "macos")] #[cfg(target_os = "freebsd")] -fn path_div() -> ~str { ~":" } +pub fn path_div() -> ~str { ~":" } #[cfg(target_os = "win32")] -fn path_div() -> ~str { ~";" } +pub fn path_div() -> ~str { ~";" } -fn logv(config: config, s: ~str) { +pub fn logv(config: config, s: ~str) { log(debug, s); if config.verbose { io::println(s); } } |
