diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-05-27 11:36:57 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-05-27 11:36:57 -0700 |
commit | cad88b317c1ffbbc397b86ca4b65cb837c9c9ea7 (patch) | |
tree | 7d5ecc0bd34a122176350055a888bcdb7577e80b | |
parent | d46e9600bcf9416d37a2b4189ca5dd3d0546bf54 (diff) |
proper error message for linkable modules not supported in fastcomp
-rwxr-xr-x | emcc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1272,6 +1272,7 @@ try: assert shared.Settings.INIT_HEAP == 0, 'HEAP_INIT is not supported in fastcomp (and should never be needed except for debugging)' assert not shared.Settings.RUNTIME_TYPE_INFO, 'RUNTIME_TYPE_INFO is not supported in fastcomp' assert not shared.Settings.CORRUPTION_CHECK, 'CORRUPTION_CHECK is not supported in asm.js mode, which is what fastcomp can emit (you can use non-asm.js mode in non-fastcomp)' + assert not shared.Settings.MAIN_MODULE and not shared.Settings.SIDE_MODULE, 'Linking modules is not supported in fastcomp' except Exception, e: logging.error('Compiler settings are incompatible with fastcomp. You can fall back to the older compiler core, although that is not recommended, see https://github.com/kripken/emscripten/wiki/LLVM-Backend') raise e |