On Tuesday, 6 August 2019 at 22:57:52 UTC, a11e99z wrote:
tried. --combined => got error about time.d. could not fix, idk how to fix.

If calling ldc2 manually you need to use the -betterC flag, see https://wiki.dlang.org/Generating_WebAssembly_with_LDC for the minimal working example.

so, I think need to fix dub/sdl/json generating for wasm/spasm for Windows
- -of=..WASM not EXE
- libs as last with prefix -L="". probably all file names better put in quotes. probably with Unix-slashes

I have opened a dub issue for the .lib .exe issue. https://github.com/dlang/dub/issues/1749

Reply via email to