mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Merge pull request #6808 from roc-lang/process-host
Update preprocess host API
This commit is contained in:
commit
f69d39dffc
8 changed files with 117 additions and 106 deletions
|
@ -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,14 +1177,15 @@ 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,
|
||||
host_dest.as_path(),
|
||||
platform_main_roc,
|
||||
preprocessed_host_path,
|
||||
&stub_lib,
|
||||
stub_dll_symbols,
|
||||
false,
|
||||
false,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue