Run code before dub dependency's `shared static this()`

Daniel N no at public.email
Sun May 5 12:52:26 UTC 2019


On Sunday, 5 May 2019 at 08:24:29 UTC, Vladimirs Nordholm wrote:
> Hello.
>
> I have dub dependency which has a `shared static this()`.
>
> In my project, can I run code code before the dependency's 
> `shared static this()`?

This might work:

pragma(crt_constructor)
extern(C)
void early_init()
{
}


More information about the Digitalmars-d-learn mailing list