D-Programming-Language/druntime — pull request #205 by jacob-carlborg (2012-05-05 20:59:44+00:00)
Title: Fix issue 7995: D runtime initialization from C fails on OSX in 2.059, w...

...orked in 2.058.

I also refactored the startup code to remove duplicated code.
This will hopefully reduce this kind of bugs in the future.

I had to remove the call to "runModuleUnitTests" in "rt_init". Meaning the unit tests won't be run if the runtime is just initialized via "rt_init". This basically only happens if you start the D runtime from a C application. The unit tests are still run, just as before, for all D applications with a D main function. Don't know if this is a problem or not.