Open sbalko opened 7 years ago
That sounds like a version mismatch, using an older binaryen. Perhaps you set BINARYEN to point to an older version in ~/.emscripten
? Also, any warnings when you do emcc -v
?
When I test 1.37.13 (without any value set for BINARYEN, so it uses the default), it works.
Not sure if this is an emscripten or Binaryen issue. But I have tried to compile a C/C++ stack using the latest incoming (1.37.13) emscripten, emscripten-fastcomp, emscripten-fastcomp-clang toolchain using emscripten's
-s LEGALIZE_JS_FFI=0
flag. As a result, theasm2wasm
binary complains: