add a zig-based elf linker test

This commit is contained in:
Folkert 2022-09-25 13:46:03 +02:00
parent 9ba0103715
commit 65fd6e9e86
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 150 additions and 1 deletions

View file

@ -6,6 +6,9 @@ mod pe;
#[cfg(test)]
pub(crate) use pe::synthetic_dll;
#[cfg(test)]
pub(crate) use elf64::create_dylib_elf64;
pub(crate) use pe::APP_DLL;
pub fn generate(target: &Triple, custom_names: &[String]) -> object::read::Result<Vec<u8>> {