mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
add a zig-based elf linker test
This commit is contained in:
parent
9ba0103715
commit
65fd6e9e86
3 changed files with 150 additions and 1 deletions
|
@ -195,10 +195,14 @@ fn preprocess(
|
|||
println!("Targeting: {}", target);
|
||||
}
|
||||
|
||||
let endianness = target
|
||||
.endianness()
|
||||
.unwrap_or(target_lexicon::Endianness::Little);
|
||||
|
||||
match target.binary_format {
|
||||
target_lexicon::BinaryFormat::Elf => {
|
||||
crate::elf::preprocess_elf(
|
||||
target,
|
||||
endianness,
|
||||
host_exe_path,
|
||||
metadata_path,
|
||||
preprocessed_path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue