Steve Akinyemi
f802dd4f12
Add global conversion
2018-12-30 12:10:53 +01:00
Syrus
2d5a1fd170
Merge branch 'master' into feature/run-lua-wasm
...
# Conflicts:
# src/apis/emscripten/env.rs
# src/apis/emscripten/mod.rs
# src/apis/emscripten/process.rs
# src/apis/emscripten/syscalls.rs
2018-12-18 09:43:36 -08:00
Steve Akinyemi
a2bd8d170f
Remove debug prints
2018-12-17 09:15:08 +01:00
Brandon Fish
572115f140
Initial format using rustfmt
2018-12-15 00:46:11 -06:00
Brandon Fish
e583226510
Fix build warning unnecessary unsafe
2018-12-13 19:58:08 -06:00
Steve Akinyemi
05aa3bc62a
Fixing get_env
2018-12-14 00:11:48 +01:00
Steve Akinyemi
7f91a64cf6
Add a bunch of required functions and syscalls
2018-12-13 19:28:30 +01:00
Syrus
0eb6583b63
Merge branch 'master' into fix/localtime
...
# Conflicts:
# emtests/README.md
# src/apis/emscripten/mod.rs
# src/apis/emscripten/storage.rs
# src/bin/wasmer.rs
2018-12-11 10:32:21 -08:00
Steve Akinyemi
2b1dac4d7d
Refactor code
2018-12-11 18:06:20 +01:00
Syrus
028d86a300
Provide instance options when instantiating. Make tests monothreaded
2018-12-10 19:19:46 -08:00
Brandon Fish
6354d3d14f
Fix clippy warnings unused imports
2018-12-09 01:02:26 -06:00
Brandon Fish
a9d95b42c5
Fix unneeded return statement
2018-12-08 00:27:36 -06:00
Steve Akinyemi
181837d7cc
Fix localtime implementation
2018-12-07 14:50:35 +01:00
Lachlan Sneff
a29b480e85
Fixing merge issues
2018-12-06 22:44:16 -05:00
Lachlan Sneff
0e024aa722
Fix crashing cli args
2018-12-06 22:42:16 -05:00
Steve Akinyemi
485da4c701
More debugging
2018-12-07 04:23:18 +01:00
Steve Akinyemi
03cff50a40
Debug segfaulting stackallocation
2018-12-07 03:10:26 +01:00
Lachlan Sneff
28a668f38c
Stack allocate arguments
2018-12-06 15:21:58 -05:00
Steve Akinyemi
5b8e4ed4a6
Fix argv allocation
2018-12-06 16:20:02 +01:00
Steve Akinyemi
2b3c87e80c
Add support for argc/argv
2018-12-06 12:51:09 +01:00
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
Syrus Akbary
02477b6e5e
Added support for conditional emscripten
2018-11-28 13:25:17 -08:00
Syrus Akbary
c2ede37a72
Improved formatting
2018-11-26 20:29:26 -08:00
Syrus Akbary
50f6ea3bd4
Fixed all Rust warnings
2018-11-26 20:28:13 -08:00
Lachlan Sneff
30d4688fe3
Runs up to socket/ioctl/sigaction functions
2018-11-26 22:48:19 -05:00
Syrus Akbary
ac51a33d5e
Improved utils from pritnln! to debug!
2018-11-26 14:06:05 -08:00
Steve Akinyemi
27f642a891
Merge changes
2018-11-26 22:20:10 +01:00
Steve Akinyemi
3f819e3a79
Move some functions to utils
2018-11-26 22:15:49 +01:00
Lachlan Sneff
3be1bdba30
Fix build errors
2018-11-26 16:11:01 -05:00
Syrus Akbary
e59b95d95e
Removed unused code
2018-11-21 21:07:01 -08:00
Syrus Akbary
38f045da3c
run cargo fmt
2018-11-21 20:59:23 -08:00
Syrus Akbary
5ad5606b39
Added APIs to support conditional emscripten instantiation
2018-11-20 20:51:11 -08:00