]> git.lizzy.rs Git - rust.git/blobdiff - src/compiletest/util.rs
Auto merge of #21959 - dhuseby:bitrig-support, r=brson
[rust.git] / src / compiletest / util.rs
index ee011e3b3b9b0d43557db4545c54f74c3f10ac02..778629dd2028f53ed838dd533198e2705045c358 100644 (file)
@@ -41,7 +41,7 @@ pub fn make_new_path(path: &str) -> String {
 
     // Windows just uses PATH as the library search path, so we have to
     // maintain the current value while adding our own
-    match env::var_string(lib_path_env_var()) {
+    match env::var(lib_path_env_var()) {
       Ok(curr) => {
         format!("{}{}{}", path, path_div(), curr)
       }