I've managed to make it work but unfortunately not in a way that produces portable binaries. I just need to figure out how to selectively statically link some of the QEMU dependencies or write a runtime that uses Apple's VirtualizationFramework.
For Windows, I recommend looking into running in WSL2 instead of trying to get QEMU working in a performant way. It's pretty easy to install a custom lightweight WSL2 image and run it.
Currently using docker as a way to easily distribute and run an open project[1], this would be great to use on top of docker
Will this run ok on a Mac? (I see the feature is pending, any tests done yet?)
[1] https://github.com/nicobrenner/commandjobs