Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 665 Bytes

File metadata and controls

17 lines (14 loc) · 665 Bytes

waddon

Example of how to use wasm2lua to embed typical programs on Windows.

This embeds:

Prerequisites

Make sure you have the wasi-sdk installed, with the path at %WASI_SDK_PATH% Get it from the releases (mingw)

Usage

  1. Run build.bat.
  2. Edit build.bat to comment out the line with lua-webidl. (Put 'rem' or '::' before it)
  3. Run it again
  4. Lua should be generated in waddon.lua
  5. See the src-lua folder for example usage from lua.