windows patches

This commit is contained in:
Luke Boswell 2023-07-30 22:57:06 +10:00 committed by Folkert
parent da3635de8e
commit c4b8a6e8f2
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 583 additions and 118 deletions

View file

@ -215,8 +215,10 @@ pub fn helper(
let builtins_host_tempfile =
roc_bitcode::host_tempfile().expect("failed to write host builtins object to tempfile");
// TODO make this an envrionment variable
if false {
std::fs::copy(&app_o_file, "/tmp/app.o").unwrap();
let file_path = std::env::temp_dir().join("app.o");
std::fs::copy(&app_o_file, file_path).unwrap();
}
let (mut child, dylib_path) = link(