The idea would be to match the behavior of `cvtres.exe` which is responsible for converting from `.res` to a COFF object file for linking. - [windres supports it](https://sourceware.org/binutils/docs/binutils/windres.html) - LLVM has [llvm-cvtres](https://github.com/llvm/llvm-project/tree/main/llvm/tools/llvm-cvtres) Relevant PE format docs: https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#the-rsrc-section