Producing a completely flat binary in Rust ?
Hello,
I already know how to make a freestanding binary that doesn't depend on the standard library, but I'm wondering how to create a completely flat binary. Not an elf or anything like that - just the instructions for the cpu. I'm writing my own OS and I don't have support for any executable formats like elf or com etc. I need the rust compiler to produce just the cpu instructions, not an entire format.
Thanks