mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
replace stray strings with impl on Target
This commit is contained in:
parent
753cfb4285
commit
85447ec2cc
7 changed files with 58 additions and 54 deletions
|
@ -169,14 +169,13 @@ fn main() -> io::Result<()> {
|
|||
|
||||
let verbose_and_time = matches.get_one::<bool>(roc_cli::FLAG_VERBOSE).unwrap();
|
||||
|
||||
let preprocessed_path = platform_path.with_file_name(format!("{}.rh", target));
|
||||
let metadata_path =
|
||||
platform_path.with_file_name(roc_linker::metadata_file_name(target));
|
||||
let preprocessed_path = platform_path.with_file_name(target.prebuilt_surgical_host());
|
||||
let metadata_path = platform_path.with_file_name(target.metadata_file_name());
|
||||
|
||||
roc_linker::preprocess_host(
|
||||
target,
|
||||
host_path,
|
||||
&metadata_path,
|
||||
metadata_path.as_path(),
|
||||
preprocessed_path.as_path(),
|
||||
dylib_path,
|
||||
*verbose_and_time,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue