How to use dub with ldc

ryuukk_ ryuukk.dev at gmail.com
Sat Oct 22 20:15:03 UTC 2022


On Saturday, 22 October 2022 at 18:08:51 UTC, tobi wrote:
> Hi, I'm new to D and I would like to get the dlang-tour onto my 
> local machine.
>
> As far as I know, on my Pinebook Pro using aarm64 architecture, 
> I must use the LDC compiler. The dlang-tour readme says to run 
> `dub run dlang-tour -- --lang-dir .` which will run `rdmd` 
> commands.
>
> Is there a way to tell dub to work with ldc instead?
>
> Thanks for your help!


     dub run --compiler=ldc2


More information about the Digitalmars-d-learn mailing list