.rh and .rm adjustments, basic-cli nightly prep

This commit is contained in:
Anton-4 2023-03-20 12:24:30 +01:00
parent 1061b7e8c0
commit f619a35c7c
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
8 changed files with 13 additions and 17 deletions

View file

@ -62,7 +62,7 @@ pub fn supported(link_type: LinkType, target: &Triple) -> bool {
}
}
pub const PRECOMPILED_HOST_EXT: &str = "rh1"; // Short for "roc host version 1" (so we can change format in the future)
pub const PRECOMPILED_HOST_EXT: &str = "rh"; // Short for "roc host"
pub fn preprocessed_host_filename(target: &Triple) -> Option<String> {
roc_target::get_target_triple_str(target).map(|x| format!("{}.{}", x, PRECOMPILED_HOST_EXT))
@ -71,7 +71,7 @@ pub fn preprocessed_host_filename(target: &Triple) -> Option<String> {
fn metadata_file_name(target: &Triple) -> String {
let target_triple_str = get_target_triple_str(target);
format!("metadata_{}.rm2", target_triple_str.unwrap_or("unknown"))
format!("metadata_{}.rm", target_triple_str.unwrap_or("unknown"))
}
pub fn link_preprocessed_host(