mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
add test that combines a zig platform with a dll
This commit is contained in:
parent
61366f0d43
commit
6005ed0664
4 changed files with 73 additions and 50 deletions
|
@ -3,6 +3,9 @@ use target_lexicon::Triple;
|
|||
mod elf64;
|
||||
mod pe;
|
||||
|
||||
#[cfg(test)]
|
||||
pub(crate) use pe::synthetic_dll;
|
||||
|
||||
pub fn generate(target: &Triple, custom_names: &[String]) -> object::read::Result<Vec<u8>> {
|
||||
match target.binary_format {
|
||||
target_lexicon::BinaryFormat::Elf => elf64::create_dylib_elf64(custom_names),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue