We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e2ebff commit ef8f096Copy full SHA for ef8f096
src/tools/run-make-support/src/lib.rs
@@ -111,7 +111,9 @@ fn run_common(bin_name: &str) -> (Command, Output) {
111
112
if target.contains("windows") {
113
let mut path = std::env::var("PATH").unwrap_or(String::new());
114
- path.push(':');
+ if !path.is_empty() {
115
+ path.push(':');
116
+ }
117
path.push_str(&std::env::var("TARGET_RPATH_DIR").unwrap());
118
cmd.env("PATH", &path);
119
}
0 commit comments