I know Visuald support ldc, but for dub I didn't find anything on how it find which compiler to use.
I agree the docs could be better. If you type dub build --help, it shows that --compiler is an option. So you would just pass --compiler=ldc2.
I know Visuald support ldc, but for dub I didn't find anything on how it find which compiler to use.
I agree the docs could be better. If you type dub build --help, it shows that --compiler is an option. So you would just pass --compiler=ldc2.