example: intro an emscripten wrapper around fibonacci
[nit.git] / src / platform.nit
index 4d65c7e..3c5367f 100644 (file)
@@ -18,7 +18,6 @@ module platform
 
 import modelize_property
 import parser_util
-import simple_misc_analysis
 import modelbuilder
 
 redef class ToolContext
@@ -113,4 +112,9 @@ end
 # Services will be added to this class in other modules.
 abstract class Platform
        fun supports_libunwind: Bool do return true
+
+       fun supports_libgc: Bool do return true
+
+       # Does this platform declare its own main function? If so, we won't generate one in Nit.
+       fun no_main: Bool do return false
 end