Hacker News new | past | comments | ask | show | jobs | submit
I end up using a .S asm file with .incbin directives to embed files.

#embed would be much nicer

Incbin works just fine from inline asm fwiw
Inline assembly isn't supported for x86-64 and ARM on MSVC which unfortunately also means the incbin trick can't be used there anymore.