[[bad mustMatch:]]: error while compiling to wasm
huskb.code at gmail.com
Sat Jul 7 07:55:59 UTC 2018
Hi I was trying to build wasm code via ldc and binaryen. I saw
how to do it in a c++ tutorial.
My source code is:
extern(C) int main()
writeln("Edit source/app.d to start your project.");
I compile with the following:
ldc2 app.d -output-s
s2wasm app.s > app.wast
While compiling to s, everyhing is fine but s2wasm it gives this
<< set >>
It is something related to the D structure? How can I fix this?
More information about the digitalmars-d-ldc