flavio / wapc-swift-demo

A demo Wasm module writtein in Swift that leverages the waPC standard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wapc-swift-demo

This project shows how to write a simple Wasm module in Swift that leverages the waPC protocol via the wapc-guest-swift SDK.

Building

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

About

A demo Wasm module writtein in Swift that leverages the waPC standard

License:Apache License 2.0


Languages

Language:Swift 72.1%Language:Makefile 27.9%