wasmer/src/apis
Piotr Sikora c18065a8f0 Fixed false positives in Emscripten detection. (#35)
Almost all languages targeting WebAssembly create imports from
"env" module by default, which means that Emscripten was being
detected even when it wasn't used.

Use "_emscripten_memcpy_big" as a signal, since it's imported
in all WASM modules produced by Emscripten, even as simple as:

    EMSCRIPTEN_KEEPALIVE
    int
    main(int argc, const char** argv) {
        return 0;
    }

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2018-12-05 21:01:52 -05:00
..
emscripten Fixed false positives in Emscripten detection. (#35) 2018-12-05 21:01:52 -05:00
host Removed unused code 2018-11-21 21:07:01 -08:00
mod.rs Improved formatting 2018-11-26 20:29:26 -08:00