nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler: add `Platform::supports_linker_script`
[nit.git]
/
src
/
platform.nit
diff --git
a/src/platform.nit
b/src/platform.nit
index
54a9eaa
..
5b7f7a5
100644
(file)
--- a/
src/platform.nit
+++ b/
src/platform.nit
@@
-112,4
+112,7
@@
class Platform
# Does this platform declare its own main function? If so, we won't generate one in Nit.
fun no_main: Bool do return false
+
+ # Does the platform accepts linker scripts?
+ fun supports_linker_script: Bool do return true
end