TIL how compile Swift package to WebAssembly: swift build --triple wasm32-unknown-wasi.