cross-compile C for windows with zig

This commit is contained in:
Folkert 2022-09-23 19:46:27 +02:00
parent aae2dbf17c
commit f632e299cd
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 39 additions and 12 deletions

View file

@ -63,7 +63,7 @@ pub(crate) fn preprocess_windows(
let _exec_obj = match object::read::pe::PeFile64::parse(exec_data) {
Ok(obj) => obj,
Err(err) => {
internal_error!("Failed to parse executable file: {}", err);
internal_error!("Failed to parse host .exe file: {}", err);
}
};