Is there any way in dub to specify that a module should only be linked and compiled for DMD and not for LDC?

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.

Reply via email to