nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emscripten: add general features to lib
[nit.git]
/
src
/
platform.nit
diff --git
a/src/platform.nit
b/src/platform.nit
index
3d15546
..
3c5367f
100644
(file)
--- a/
src/platform.nit
+++ b/
src/platform.nit
@@
-18,7
+18,6
@@
module platform
import modelize_property
import parser_util
import modelize_property
import parser_util
-import simple_misc_analysis
import modelbuilder
redef class ToolContext
import modelbuilder
redef class ToolContext
@@
-112,4
+111,10
@@
end
#
# Services will be added to this class in other modules.
abstract class Platform
#
# 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
end