remove a copy

This commit is contained in:
Folkert 2022-10-23 22:59:25 +02:00
parent 43c3095337
commit 1d45b7d1b5
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -190,8 +190,6 @@ pub(crate) fn preprocess_windows(
) -> 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,