I am using the Economic Modeling containers library, and because it uses std.experimental.allocator, it can't be used with LDC through dub. I have coded in such a way with static if's that LDC will still compile without it, but dub will try to compile it anyway because it's in the dependencies JSON dictionary.
Compiler Specific dub Dependencies
Jack Stouffer via Digitalmars-d-learn Wed, 23 Mar 2016 13:36:54 -0700
Is there any way in dub to specify that a module should only be
linked and compiled for DMD and not for LDC?
- Compiler Specific dub Dependencies Jack Stouffer via Digitalmars-d-learn
- Re: Compiler Specific dub Depen... Mike Parker via Digitalmars-d-learn