There are loads of libraries on crates.io for parsing ELF, but I want to generate an ELF binary as part of a toy compiler/virtual machine project. Does anyone know of an existing library for creating a valid ELF file?
I'm fine with reading up on the ELF spec and implementing this myself, but I don't want to reinvent the wheel unnecessarily.