This is a playground project aimed at finding out how C, Web Assembly and JS play together. Not suitable for anyone else.
Not yet usable :) Don't use for production.
The best way to build wbar is with docker to ensure all dependencies are met. You might try to build without on a Linux system and maybe lucky. Run build.sh
. for repeated builds. For the first run you need to build the docker image itself:
# Build the build environment from Dockerfile
docker build -t wbar-build-env .
# Build wbar.js and wbar.wasm:
docker run -v "$PWD:/src" -it wbar-build-env bash
make build/wbar.js
This is where we got ideas & code from: