On Sunday, 15 July 2018 at 20:29:29 UTC, tcb wrote: > Is it possible to completely remove the C runtime on windows, > and if so how? This works for me: extern(C) int mainCRTStartup() { return 0; } dmd -m32mscoff -betterC -L/subsystem:CONSOLE main.d => 1.5 kB .exe.