On 2019-05-05 14:52, Daniel N wrote: > This might work: > > pragma(crt_constructor) > extern(C) > void early_init() > { > } Keep in mind that the D runtime is not full initialized at this point. -- /Jacob Carlborg