mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 20:42:29 +00:00
add .exe extension when target is windows
This commit is contained in:
parent
8634f284b5
commit
8811123811
1 changed files with 6 additions and 1 deletions
|
@ -97,9 +97,14 @@ pub fn build_and_preprocess_host(
|
|||
host_input_path.with_file_name("libapp.so")
|
||||
};
|
||||
|
||||
let dynhost = if let target_lexicon::OperatingSystem::Windows = target.operating_system {
|
||||
host_input_path.with_file_name("dynhost.exe")
|
||||
} else {
|
||||
host_input_path.with_file_name("dynhost")
|
||||
};
|
||||
|
||||
generate_dynamic_lib(target, exposed_to_host, exported_closure_types, &dummy_lib);
|
||||
rebuild_host(opt_level, target, host_input_path, Some(&dummy_lib));
|
||||
let dynhost = host_input_path.with_file_name("dynhost");
|
||||
let metadata = host_input_path.with_file_name("metadata");
|
||||
// let prehost = host_input_path.with_file_name("preprocessedhost");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue