Thanks for the links, I only ever used DMD and GDC (when I had some odd issue with DMD on some distros) but never LDC definitely checking it out. I'm glad there's a Snap package for it, seems to be the cleaner approach to installing dev tools for me.
https://github.com/ldc-developers/ldc/issues/2144
https://github.com/cosinus2/dlang-emscripten-demo