If you're distributing an executable (not a library), you can just AOT compile the generated wasm to machine code.
For example, the WasmExplorer already lets you compile C++ -> wasm -> x86 assembly: https://mbebenita.github.io/WasmExplorer/?state=%7B%22option...