Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 817 Bytes

README.md

File metadata and controls

49 lines (27 loc) · 817 Bytes

Build tool for wasm D druntime

This in a build script for wasm/wasi for druntime.

The project is build on the work done by [Sebastiaan Koppe][https://github.com/skoppe]

The following instruction should be valid for a debian based system (Ubuntu).

Installations of wasi-sdk-8.0

The binary can be found [wasi-sdk][https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-8] and it can to be installed

sudo dpkg -i wasi-sdk_8.0_amd64.deb

Instruction

make help

Building the tool

First the submodules needs to be installed

make subdate

The project is build by

make all

Test program

The build flow will generate a simple test program in D and it can be run as follows.

wasmer hello_wasm.wasm