mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Change preprocessedhost filename
This commit is contained in:
parent
7f617c87bf
commit
062ecce84c
5 changed files with 17 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
use bumpalo::Bump;
|
||||
use roc_build::{
|
||||
link::{
|
||||
legacy_host_filename, link, precompiled_host_filename, preprocess_host_wasm32,
|
||||
legacy_host_filename, link, preprocess_host_wasm32, preprocessed_host_filename,
|
||||
rebuild_host, LinkType, LinkingStrategy,
|
||||
},
|
||||
program::{self, CodeGenOptions, Problems},
|
||||
|
@ -165,7 +165,7 @@ pub fn build_file<'a>(
|
|||
|
||||
let preprocessed_host_path = match linking_strategy {
|
||||
LinkingStrategy::Surgical | LinkingStrategy::Additive => {
|
||||
host_input_path.with_file_name(precompiled_host_filename(target).unwrap())
|
||||
host_input_path.with_file_name(preprocessed_host_filename(target).unwrap())
|
||||
}
|
||||
LinkingStrategy::Legacy => host_input_path
|
||||
.with_file_name(legacy_host_filename(target, code_gen_options.opt_level).unwrap()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue