Browse Source

Fix compile on stable

wintest
Alex Crichton 7 years ago
parent
commit
fb4ed895f2
  1. 2
      src/lib.rs

2
src/lib.rs

@ -1634,7 +1634,7 @@ impl Build {
tool.env.len() == 0 &&
target.contains("msvc")
{
for (k, v) in cl_exe.env.iter() {
for &(ref k, ref v) in cl_exe.env.iter() {
tool.env.push((k.to_owned(), v.to_owned()));
}
}

Loading…
Cancel
Save