mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
update to rm2
This commit is contained in:
parent
7d6426b280
commit
cc67c75d39
3 changed files with 4 additions and 4 deletions
|
@ -24,13 +24,13 @@ jobs:
|
||||||
# does a build with the surgical linker and also with the legacy linker
|
# does a build with the surgical linker and also with the legacy linker
|
||||||
- run: ./ci/build_basic_cli.sh linux_x86_64 "--linker legacy"
|
- run: ./ci/build_basic_cli.sh linux_x86_64 "--linker legacy"
|
||||||
|
|
||||||
- name: Save .rh1, .rm1 and .o file
|
- name: Save .rh1, .rm2 and .o file
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-x86_64-files
|
name: linux-x86_64-files
|
||||||
path: |
|
path: |
|
||||||
|
basic-cli/src/metadata_linux-x86_64.rm2
|
||||||
basic-cli/src/linux-x86_64.rh1
|
basic-cli/src/linux-x86_64.rh1
|
||||||
basic-cli/src/metadata_linux-x86_64.rm1
|
|
||||||
basic-cli/src/linux-x86_64.o
|
basic-cli/src/linux-x86_64.o
|
||||||
|
|
||||||
build-macos-x86_64-files:
|
build-macos-x86_64-files:
|
||||||
|
|
|
@ -96,7 +96,7 @@ pub fn build_and_preprocess_host(
|
||||||
fn metadata_file_name(target: &Triple) -> String {
|
fn metadata_file_name(target: &Triple) -> String {
|
||||||
let target_triple_str = get_target_triple_str(target);
|
let target_triple_str = get_target_triple_str(target);
|
||||||
|
|
||||||
format!("metadata_{}.rm1", target_triple_str.unwrap_or("unknown"))
|
format!("metadata_{}.rm2", target_triple_str.unwrap_or("unknown"))
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn link_preprocessed_host(
|
pub fn link_preprocessed_host(
|
||||||
|
|
|
@ -153,7 +153,7 @@ fn write_archive<W: Write>(path: &Path, writer: W) -> io::Result<()> {
|
||||||
// surgical linker format
|
// surgical linker format
|
||||||
Some("rh1"),
|
Some("rh1"),
|
||||||
// metadata file
|
// metadata file
|
||||||
Some("rm1"),
|
Some("rm2"),
|
||||||
// legacy linker formats
|
// legacy linker formats
|
||||||
Some("o"),
|
Some("o"),
|
||||||
Some("obj"),
|
Some("obj"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue