/web-assembly-to-native-exe

AssemblyScript native executable POC

Primary LanguageMakefile

WebAssembly Native Executable

This is a simple example on how to create a WebAssembly native executable on linux using wasmer.

Dependencies

  • wasmer
  • Node.js + PNPM (or else you can use NPM or Yarn)

Install

Clone this repository and install the dependencies:

git clone https://github.com/ubermanu/web-assembly-to-native-exe
cd web-assembly-to-native-exe
pnpm install

Build

Build the WebAssembly file into a native executable:

make build

Run

Run the executable:

make run