diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-09 16:15:47 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-09 16:18:01 -0700 |
commit | 895696aca0830a741b5b33f1ca1fc1e3c8b23c47 (patch) | |
tree | 25f217803ac0de5c9f8daeacd6040ff623362129 /src/compiler.js | |
parent | 36b4e7f2bf0987f837a26656fd6e43dab8040619 (diff) |
better error on shared libs being deprecated
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.js b/src/compiler.js index 8b9606f1..94e77e26 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -183,8 +183,8 @@ if (ASM_JS) { assert(!ALLOW_MEMORY_GROWTH, 'Cannot grow asm.js heap'); assert((TOTAL_MEMORY&(TOTAL_MEMORY-1)) == 0, 'asm.js heap must be power of 2'); } -assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB)); // shared libraries must have named globals assert(!BUILD_AS_SHARED_LIB, 'shared libs are deprecated'); +//assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB), 'shared libraries must have named globals'); // Output some info and warnings based on settings |