Skip to content

Commit 7f1c209

Browse files
committed
fix windows build
1 parent 2518a15 commit 7f1c209

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • lib/dsc-lib/src/configure

lib/dsc-lib/src/configure/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,9 @@ fn get_metadata_from_result(mut context: Option<&mut Context>, properties: &mut
337337
}
338338
// set the current process env vars to the new values
339339
for (key, value) in env_vars {
340-
std::env::set_var(&key.to_string(), &value);
340+
unsafe {
341+
std::env::set_var(&key.to_string(), &value);
342+
}
341343
}
342344
}
343345
}

0 commit comments

Comments
 (0)