update the dynhost file (dll name is now different)

This commit is contained in:
Folkert 2022-10-23 21:30:52 +02:00
parent c4e407f703
commit 0071c9aa04
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C
2 changed files with 3 additions and 0 deletions

View File

@ -189,6 +189,9 @@ pub(crate) fn preprocess_windows(
_time: bool,
) -> object::read::Result<()> {
let data = open_mmap(host_exe_filename);
std::fs::copy(host_exe_filename, "/tmp/roc/dynhost.exe").unwrap();
let new_sections = [*b".text\0\0\0", *b".rdata\0\0"];
let mut preprocessed = Preprocessor::preprocess(
preprocessed_filename,