https://issues.dlang.org/show_bug.cgi?id=18815 --- Comment #4 from Walter Bright <bugzilla at digitalmars.com> --- (In reply to Walter Bright from comment #3) > It is likely crashing because your main() is on the C++ side, and so the D > runtime library never gets initialized. Oh, I see you called rt_init(). --