Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.5 KB

File metadata and controls

43 lines (27 loc) · 1.5 KB

componentize-go

Build WebAssembly components with Go

A Bytecode Alliance project

build status

This is a tool to convert a Go application to a WebAssembly component. It takes the following as input:

  • a WIT file or directory
  • the name of a WIT world defined in the above file or directory
  • the directory containing a Go module which targets said world

The output is a component which may be run using e.g. wasmtime.

Installation

Download a release

You can download a specific release from the release page.

Build from source

Prerequisites

Run

cargo install --git https://github.com/bytecodealliance/componentize-go

Usage

Please reference the README.md and Makefile files in each of the directories in examples.