Specify dmd or ldc compiler and version in a json dub file?
data pulverizer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Aug 8 02:31:49 PDT 2017
On Tuesday, 8 August 2017 at 09:21:54 UTC, Moritz Maxeiner wrote:
> On Tuesday, 8 August 2017 at 09:17:02 UTC, data pulverizer
> wrote:
>> Hi,
>>
>> I would like to know how to specify dmd or ldc compiler and
>> version in a json dub file.
>>
>> Thanks in advance.
>
> You can't [1]. You can specify the compiler to use only on the
> dub command line via `--compiler=`.
>
> [1] https://code.dlang.org/package-format?lang=json
How do you distribute packages with specific compiler
dependencies? I guess I could write it in the readme.
More information about the Digitalmars-d-learn
mailing list