This project shows how to write a simple Wasm module in Swift that leverages the waPC protocol via the wapc-guest-swift SDK.
Ensure you have the Swiftwasm compiler installed.
Building the project can be done using SwiftPM:
$ swift build --triple wasm32-unknown-wasi -c release
If you have either podman or docker installed on your machine, this can be done with:
$ make containerized-release