mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
centralize metadata file IO
This commit is contained in:
parent
51f8bf496f
commit
f1e05f6d13
2 changed files with 33 additions and 23 deletions
|
@ -2040,7 +2040,12 @@ pub fn surgery(
|
|||
let app_parsing_duration = app_parsing_start.elapsed();
|
||||
|
||||
if let target_lexicon::BinaryFormat::Coff = target.binary_format {
|
||||
return crate::pe::surgery_pe(out_filename, metadata_filename, app_data, verbose);
|
||||
return crate::pe::surgery_pe(
|
||||
Path::new(out_filename),
|
||||
Path::new(metadata_filename),
|
||||
app_data,
|
||||
verbose,
|
||||
);
|
||||
}
|
||||
|
||||
let total_start = Instant::now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue