mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix host_dest in preprocessed_host
This commit is contained in:
parent
ee84b61360
commit
b92d0ef315
1 changed files with 3 additions and 3 deletions
|
@ -1169,7 +1169,7 @@ fn build_and_preprocess_host_lowlevel(
|
||||||
opt_level: OptLevel,
|
opt_level: OptLevel,
|
||||||
target: Target,
|
target: Target,
|
||||||
platform_main_roc: &Path,
|
platform_main_roc: &Path,
|
||||||
preprocessed_host_path: &Path,
|
_preprocessed_host_path: &Path,
|
||||||
stub_dll_symbols: &[String],
|
stub_dll_symbols: &[String],
|
||||||
) {
|
) {
|
||||||
let stub_lib =
|
let stub_lib =
|
||||||
|
@ -1177,11 +1177,11 @@ fn build_and_preprocess_host_lowlevel(
|
||||||
|
|
||||||
debug_assert!(stub_lib.exists());
|
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(
|
roc_linker::preprocess_host(
|
||||||
target,
|
target,
|
||||||
preprocessed_host_path,
|
host_dest.as_path(),
|
||||||
platform_main_roc,
|
platform_main_roc,
|
||||||
&stub_lib,
|
&stub_lib,
|
||||||
false,
|
false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue