Followed README instructions and copy pasted dom example code
> dub --compiler=ldc2 --build=release
Performing "release" build using ldc2 for x86_64.
bolts 0.11.1: building configuration "library"...
optional 0.10.1: building configuration "unittest"...
stdx-allocator 2.77.3: building configuration "library"...
spasm 0.1.7: building configuration "library"...
webasmtest ~master: building configuration "application"...
/home/webfreak/etc-bin/ldc2-1.14.0-linux-x86_64/bin/../import/core/memory.d(924,24): Deprecation: core.stdc.errno.getErrno is not visible from module memory
/home/webfreak/etc-bin/ldc2-1.14.0-linux-x86_64/bin/../import/core/memory.d(927,24): Deprecation: core.stdc.errno.setErrno is not visible from module memory
/home/webfreak/etc-bin/ldc2-1.14.0-linux-x86_64/bin/../import/core/stdc/errno.d(2042,5): Error: static assert: "Unsupported platform"
LDC - the LLVM D compiler (1.14.0):
based on DMD v2.084.1 and LLVM 7.0.1
built with LDC - the LLVM D compiler (1.14.0)
Default target: x86_64-unknown-linux-gnu
Host CPU: znver1
http://dlang.org - http://wiki.dlang.org/LDC
Followed README instructions and copy pasted dom example code
app.d
dub.sdl
ldc --version
(precompiled ldc2 from github with wasm targets)