fix host_dest in preprocessed_host

This commit is contained in:
Luke Boswell 2024-06-28 15:25:07 +10:00
parent ee84b61360
commit b92d0ef315
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0

View file

@ -1169,7 +1169,7 @@ fn build_and_preprocess_host_lowlevel(
opt_level: OptLevel,
target: Target,
platform_main_roc: &Path,
preprocessed_host_path: &Path,
_preprocessed_host_path: &Path,
stub_dll_symbols: &[String],
) {
let stub_lib =
@ -1177,11 +1177,11 @@ fn build_and_preprocess_host_lowlevel(
debug_assert!(stub_lib.exists());
rebuild_host(opt_level, target, platform_main_roc, Some(&stub_lib));
let host_dest = rebuild_host(opt_level, target, platform_main_roc, Some(&stub_lib));
roc_linker::preprocess_host(
target,
preprocessed_host_path,
host_dest.as_path(),
platform_main_roc,
&stub_lib,
false,