This commit is contained in:
Folkert 2022-09-23 20:57:57 +02:00
parent f7a2eff34b
commit baed73d9f2
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 29 additions and 23 deletions

View file

@ -6,6 +6,8 @@ mod pe;
#[cfg(test)]
pub(crate) use pe::synthetic_dll;
pub(crate) use pe::APP_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),