Contents

kabiroberai/wasmkit

A WebAssembly runtime written in Swift. Originally developed and maintained by [@akkyie](https://github.com/akkyie).

Usage

Command Line Tool

$ # Usage: wasmkit-cli run <path> <functionName> [<arguments>] ...
$ swift run wasmkit-cli run Examples/wasm/fib.wasm fib i32:10
[I32(89)]

As a Library

Swift Package Manager

Add the URL of this repository to your Package.swift manifest. Then add the WasmKit library product as dependency to the target you'd like to use it with.

Testing

To run the core spec test suite run this:

$ make spectest   # Prepare core spec tests and check their assertions with WasmKit

Package Metadata

Repository: kabiroberai/wasmkit

Default branch: main

README: README.md