aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-19 13:20:45 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-19 13:20:45 -0800
commit2f9106e232a217331948db53b9e3b2f16533efea (patch)
treede2f05606150575b6818036d2a51d6955b7f59e5
parent1725a885f32333a2de52bfe237e5e211e805d568 (diff)
error on INIT_HEAP in fastcomp
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index 491e8dff..2c3033aa 100755
--- a/emcc
+++ b/emcc
@@ -1217,6 +1217,7 @@ try:
assert not split_js_file, '--split-js is deprecated and not supported in fastcomp'
assert not bind, 'embind not supported in fastcomp yet'
assert shared.Settings.MAX_SETJMPS == 20, 'changing MAX_SETJMPS is not supported in fastcomp yet'
+ assert shared.Settings.INIT_HEAP == 0, 'HEAP_INIT is not supported in fastcomp (and should never be needed except for debugging)'
if jcache:
logging.warning('jcache is not supported in fastcomp (you should not need it anyhow), disabling')
jcache = False