bindbc-sdl icon indicating copy to clipboard operation
bindbc-sdl copied to clipboard

version guards to avoid using stdc for WebAssembly

Open aferust opened this issue 4 years ago • 2 comments

Dear Mike,

I have been struggling to compile an example code on https://theartofmachinery.com/2018/12/20/emscripten_d.html. I realized that bindbc-sdl uses some types from core.stdc. Those are not available when compiling for wasm. I could compile the example code with these modifications. You can merge and do some final touches if you want.

Thanks. Ferhat

aferust avatar Dec 06 '20 12:12 aferust

Thanks! However, I'd rather wait and see how Sebastiaan Koppe's port of DRuntime to WebAssembly turns out before making any changes like this. So I'll let this sit here for a bit.

mdparker avatar Dec 06 '20 13:12 mdparker

Yes, I am waiting for his final work too. I will let my fork live until his work complete.

aferust avatar Dec 06 '20 13:12 aferust

From what I can see, Sebastiaan Koppe's project seems to have been silent for about a year. Are you still interested in these changes being merged? If so, I can incorporate them into the next update.

ichordev avatar Dec 11 '22 12:12 ichordev

Please do it. Thanks.

aferust avatar Dec 11 '22 13:12 aferust