@mntmn It's a very interesting ask and I wish I could help.
I'm also extremely curious about the target application space, because in my head if I'm trying to generate wasm I'm already in a heavyweight space. Like... "I'm going to use the tiniest machine I can to compile this wasm so I can then run it in... Chrome? All three gigs of Chrome?"