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