This reminded me of a JIT project where pieces of code were directly written in LLVM IR. This is of course a terribly masochistic way of programming.
It took a build system expert in that project to finally allow the build system to express the concept of compiling C++ to Bitcode which is then used by JIT.
I revived an old project of mine: luwa https://github.com/serprex/luwa
Lua macroassembler for webassembly used to implement a Lua runtime. Now with microcode to synthesize interpreter eval & jit