Check out
I’ve got UTM running on my Macbook M1 and able to build plugins in a VM.
I’ve also managed to get the mod-ui & mod-host running on the VM (tho I’ve failed to get audio or midi to work)
I use VSCode in remote server mode to edit the code from my Macbook, iTerm2 to fire up the build and then Mmving the plugins over to the Dwarf is a matter of copying from the VM to my Macbook and then copying to the Dwarf.