目录
目录README.md
WAKit Icon

WAKit

GitHub Workflow Status

A WebAssembly runtime written in Swift. Originally developed and maintained by @akkyie.

🚧 Highly experimental. Do not expect to work.

Usage

Command Line Tool

$ swift build # or prefix `swift run` before the command below
$ # Usage: wakit run <path> <functionName> [<arguments>] ...
$ wakit run Examples/wasm/fib.wasm fib i32:10
[I32(89)]

As a Library

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/swiftwasm/WAKit", .branch("main")),
],

Development

$ make bootstrap  # Install tools through Mint
$ make generate   # Run Sourcery to generate source code from templates
$ make build      # or `swift build`

To run the core spec test suite run this:

$ make spectest   # Prepare core spec tests and check their assertions with WAKit
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号