From fd40b9a33d6edc5e006bd4d5ac716477a0f2db99 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 23 Jul 2015 17:16:51 -0700 Subject: [PATCH] disable wasm in side modules --- emcc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emcc b/emcc index c8109b10b..c9829a23c 100755 --- a/emcc +++ b/emcc @@ -939,6 +939,9 @@ try: elif shared.Settings.SIDE_MODULE: assert not shared.Settings.MAIN_MODULE memory_init_file = False # memory init file is not supported with side modules, must be executable synchronously (for dlopen) + if shared.Settings.WASM: + logging.warning('disabling WASM in SIDE_MODULE') + shared.Settings.WASM = 0 if shared.Settings.MAIN_MODULE or shared.Settings.SIDE_MODULE: assert shared.Settings.ASM_JS, 'module linking requires asm.js output (-s ASM_JS=1)'