mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Fix emscripten environment (#172)
Dynamically determine abortOnCannotGrowMemory and add _emscripten_get_heap_size and _emscripten_resize_heap
This commit is contained in:
parent
cb29261ec7
commit
a9b1c6c85e
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -1036,6 +1036,7 @@ version = "0.1.0"
|
||||
dependencies = [
|
||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.48 (git+https://github.com/rust-lang/libc)",
|
||||
"time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"wabt 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -10,6 +10,7 @@ build = "build/mod.rs"
|
||||
|
||||
[dependencies]
|
||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.1.0" }
|
||||
lazy_static = "1.2.0"
|
||||
libc = { git = "https://github.com/rust-lang/libc" }
|
||||
byteorder = "1"
|
||||
time = "0.1.41"
|
||||
|
BIN
lib/emscripten/emtests/FS_exports.wasm
vendored
BIN
lib/emscripten/emtests/FS_exports.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/clock_gettime.wasm
vendored
BIN
lib/emscripten/emtests/clock_gettime.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/closebitcasts.wasm
vendored
BIN
lib/emscripten/emtests/closebitcasts.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/dyncall.wasm
vendored
BIN
lib/emscripten/emtests/dyncall.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/dyncall_specific.wasm
vendored
BIN
lib/emscripten/emtests/dyncall_specific.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/env.wasm
vendored
BIN
lib/emscripten/emtests/env.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/getValue_setValue.wasm
vendored
BIN
lib/emscripten/emtests/getValue_setValue.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/localtime.wasm
vendored
BIN
lib/emscripten/emtests/localtime.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/modularize_closure_pre.wasm
vendored
BIN
lib/emscripten/emtests/modularize_closure_pre.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/printf.wasm
vendored
BIN
lib/emscripten/emtests/printf.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/puts.wasm
vendored
BIN
lib/emscripten/emtests/puts.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/stackAlloc.wasm
vendored
BIN
lib/emscripten/emtests/stackAlloc.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/stack_overflow.wasm
vendored
BIN
lib/emscripten/emtests/stack_overflow.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_addr_of_stacked.wasm
vendored
BIN
lib/emscripten/emtests/test_addr_of_stacked.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_alloca.wasm
vendored
BIN
lib/emscripten/emtests/test_alloca.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_alloca_stack.wasm
vendored
BIN
lib/emscripten/emtests/test_alloca_stack.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_array2.wasm
vendored
BIN
lib/emscripten/emtests/test_array2.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_array2b.wasm
vendored
BIN
lib/emscripten/emtests/test_array2b.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_atoX.wasm
vendored
BIN
lib/emscripten/emtests/test_atoX.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_atomic.wasm
vendored
BIN
lib/emscripten/emtests/test_atomic.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_atomic_cxx.wasm
vendored
BIN
lib/emscripten/emtests/test_atomic_cxx.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_bsearch.wasm
vendored
BIN
lib/emscripten/emtests/test_bsearch.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_ccall.wasm
vendored
BIN
lib/emscripten/emtests/test_ccall.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_complex.wasm
vendored
BIN
lib/emscripten/emtests/test_complex.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_demangle_stacks.wasm
vendored
BIN
lib/emscripten/emtests/test_demangle_stacks.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_dlmalloc_partial_2.wasm
vendored
BIN
lib/emscripten/emtests/test_dlmalloc_partial_2.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_double_varargs.wasm
vendored
BIN
lib/emscripten/emtests/test_double_varargs.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_em_asm.wasm
vendored
BIN
lib/emscripten/emtests/test_em_asm.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_em_asm_2.wasm
vendored
BIN
lib/emscripten/emtests/test_em_asm_2.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_em_asm_signatures.wasm
vendored
BIN
lib/emscripten/emtests/test_em_asm_signatures.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_em_asm_unicode.wasm
vendored
BIN
lib/emscripten/emtests/test_em_asm_unicode.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_em_js.wasm
vendored
BIN
lib/emscripten/emtests/test_em_js.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_emscripten_api.wasm
vendored
BIN
lib/emscripten/emtests/test_emscripten_api.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_erf.wasm
vendored
BIN
lib/emscripten/emtests/test_erf.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_errar.wasm
vendored
BIN
lib/emscripten/emtests/test_errar.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_2.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_2.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_convert.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_convert.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_libcxx.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_libcxx.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_multi.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_multi.wasm
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_primary.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_primary.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_refcount.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_refcount.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_resume.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_resume.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_rethrow.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_rethrow.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_exceptions_std.wasm
vendored
BIN
lib/emscripten/emtests/test_exceptions_std.wasm
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_fast_math.wasm
vendored
BIN
lib/emscripten/emtests/test_fast_math.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_flexarray_struct.wasm
vendored
BIN
lib/emscripten/emtests/test_flexarray_struct.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_float32_precise.wasm
vendored
BIN
lib/emscripten/emtests/test_float32_precise.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_float_builtins.wasm
vendored
BIN
lib/emscripten/emtests/test_float_builtins.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_frexp.wasm
vendored
BIN
lib/emscripten/emtests/test_frexp.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_funcptr.wasm
vendored
BIN
lib/emscripten/emtests/test_funcptr.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_funcptr_namecollide.wasm
vendored
BIN
lib/emscripten/emtests/test_funcptr_namecollide.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_funcptrfunc.wasm
vendored
BIN
lib/emscripten/emtests/test_funcptrfunc.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_funcs.wasm
vendored
BIN
lib/emscripten/emtests/test_funcs.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_fwrite_0.wasm
vendored
BIN
lib/emscripten/emtests/test_fwrite_0.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_getgep.wasm
vendored
BIN
lib/emscripten/emtests/test_getgep.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_getloadavg.wasm
vendored
BIN
lib/emscripten/emtests/test_getloadavg.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_getopt.wasm
vendored
BIN
lib/emscripten/emtests/test_getopt.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_getopt_long.wasm
vendored
BIN
lib/emscripten/emtests/test_getopt_long.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_globaldoubles.wasm
vendored
BIN
lib/emscripten/emtests/test_globaldoubles.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_globals.wasm
vendored
BIN
lib/emscripten/emtests/test_globals.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_gmtime.wasm
vendored
BIN
lib/emscripten/emtests/test_gmtime.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_hello_world.wasm
vendored
BIN
lib/emscripten/emtests/test_hello_world.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i16_emcc_intrinsic.wasm
vendored
BIN
lib/emscripten/emtests/test_i16_emcc_intrinsic.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i32_mul_precise.wasm
vendored
BIN
lib/emscripten/emtests/test_i32_mul_precise.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64.wasm
vendored
BIN
lib/emscripten/emtests/test_i64.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_4.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_4.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_7z.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_7z.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_cmp2.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_cmp2.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_i16.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_i16.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_llabs.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_llabs.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_precise.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_precise.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_precise_needed.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_precise_needed.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_qdouble.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_qdouble.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_umul.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_umul.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_varargs.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_varargs.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_i64_zextneg.wasm
vendored
BIN
lib/emscripten/emtests/test_i64_zextneg.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_if.wasm
vendored
BIN
lib/emscripten/emtests/test_if.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_if_else.wasm
vendored
BIN
lib/emscripten/emtests/test_if_else.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_indirectbr.wasm
vendored
BIN
lib/emscripten/emtests/test_indirectbr.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_indirectbr_many.wasm
vendored
BIN
lib/emscripten/emtests/test_indirectbr_many.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_intentional_fault.wasm
vendored
BIN
lib/emscripten/emtests/test_intentional_fault.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_isnan.wasm
vendored
BIN
lib/emscripten/emtests/test_isnan.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_libcextra.wasm
vendored
BIN
lib/emscripten/emtests/test_libcextra.wasm
vendored
Binary file not shown.
BIN
lib/emscripten/emtests/test_libgen.wasm
vendored
BIN
lib/emscripten/emtests/test_libgen.wasm
vendored
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user