diff main.d @ 165:25ede4f66bda

Temporarily disabled GC (again) because phobos fails to compile with it (looks like some ObjSymbols are being falsely collected, see Library.d:666) Getting rid of global state (i.e global and static variables) to allow running concurrent compilation
author korDen
date Thu, 30 Sep 2010 10:04:32 +0400
parents 8bf07a566fdf
children e7769d53e750
line wrap: on
line diff
--- a/main.d	Thu Sep 30 07:53:23 2010 +0400
+++ b/main.d	Thu Sep 30 10:04:32 2010 +0400
@@ -174,7 +174,10 @@
 	void runMain()
     {
 		CrashHandlerInit();
-        result = main(_d_args);
+		//	while (true)
+		{
+			result = main(_d_args);
+		}
     }
 
     void runAll()
@@ -211,6 +214,8 @@
 
 int main(string[] args)
 {
+	GC.disable();
+	
     Array files = new Array();
     Array libmodules = new Array();
     Module m;