Commit Graph

58 Commits

Author SHA1 Message Date
Brandon Fish
572115f140 Initial format using rustfmt 2018-12-15 00:46:11 -06: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
6f632e615f Add impl for asctime_r 2018-12-11 17:05:07 +01:00
Syrus
5796b172d1 Added emtests 2018-12-10 17:07:13 -08:00
Brandon Fish
bd55552b4a Fix clippy long literal lacking separators warnings 2018-12-08 00:19:55 -06:00
Steve Akinyemi
540b5be395 Remove static_top fn 2018-12-07 18:19:28 +01: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
Steve Akinyemi
2b3c87e80c Add support for argc/argv 2018-12-06 12:51:09 +01:00
Syrus Akbary
92a97d1dd4 Added emscripten _sysconf 2018-12-05 15:14:58 -08:00
Syrus Akbary
4b2abd631c Multiple fixes, now http server is responding 2018-12-01 16:14:16 -08:00
Syrus Akbary
0d3134c9fd Added emscripten _signal, improved chdir implementation 2018-12-01 12:12:04 -08:00
Syrus Akbary
a85e02fe6e Added ___syscall57 emscripten syscall 2018-12-01 11:33:17 -08:00
Syrus Akbary
d94e13778a Added emscripten ___build_environment mock 2018-11-29 21:59:43 -08:00
Lachlan Sneff
c881f95eb6 Almost working 2018-11-29 15:49:04 -05:00
Syrus Akbary
c9ae2f25b9 Fixed all warnings 2018-11-28 13:29:50 -08:00
Syrus Akbary
80ddc759a1 Formatted files 2018-11-28 13:25:56 -08:00
Syrus Akbary
02477b6e5e Added support for conditional emscripten 2018-11-28 13:25:17 -08:00
Steve Akinyemi
f7e3f128d3 Refactor code 2018-11-28 02:10:09 +01:00
Lachlan Sneff
88589a9cbc Add sig* syscalls 2018-11-27 19:10:43 -05:00
Syrus Akbary
cf64cc8e04 Added ___syscall12 and ___syscall192 implementations 2018-11-26 23:28:37 -08:00
Syrus Akbary
4fb01c87ec Improved import functions casting readability 2018-11-26 21:23:23 -08:00
Syrus Akbary
c2ede37a72 Improved formatting 2018-11-26 20:29:26 -08:00
Lachlan Sneff
30d4688fe3 Runs up to socket/ioctl/sigaction functions 2018-11-26 22:48:19 -05:00
Syrus Akbary
0ba5f1ecb7 Added mock for _strftime 2018-11-26 14:16:51 -08:00
Syrus Akbary
8876ade624 Added emscripten ___syscall201 and ___syscall202 2018-11-26 13:59:18 -08:00
Syrus Akbary
c3813fedea Removed _localtime emscripten mock 2018-11-26 13:51:24 -08:00
Syrus Akbary
28c5afabfa Make happy path 2018-11-26 13:42:44 -08:00
Syrus Akbary
ab740aa37c Merge branch 'feature/compile-and-run-nginx-wasm' of github.com:wasmerio/wasmer into feature/compile-and-run-nginx-wasm
# Conflicts:
#	src/apis/emscripten/mod.rs
2018-11-26 13:30:55 -08:00
Syrus Akbary
7a2920f75b Use debug instead of println for emscripten mocks 2018-11-26 13:21:11 -08:00
Steve Akinyemi
27f642a891 Merge changes 2018-11-26 22:20:10 +01:00
Syrus Akbary
9f511f3994 Added emscripten ___syscall64 and import ___syscall122 2018-11-26 13:17:44 -08:00
Steve Akinyemi
3f819e3a79 Move some functions to utils 2018-11-26 22:15:49 +01:00
Lachlan Sneff
bd3b78ccc8 Add several more syscalls 2018-11-26 16:07:42 -05:00
Lachlan Sneff
ec9e83eca6 Add a few more syscalls 2018-11-26 16:07:30 -05:00
Syrus Akbary
5907bcc0f4 Added emscripten syscall20 implementation 2018-11-26 12:48:39 -08:00
Syrus Akbary
5911ac58c0 Added _clock_gettime emscripten implementation 2018-11-26 12:28:20 -08:00
Syrus Akbary
cb7c7fd475 Added _gettimeofday to emscripten 2018-11-26 12:02:29 -08:00
Syrus Akbary
057e1ead18 Mock all the functions
Based on the suggestion from @lachlansneff
2018-11-26 11:16:09 -08:00
Lachlan Sneff
76c9107e48 Added a few more syscalls 2018-11-26 01:17:56 -05:00
Lachlan Sneff
c4b2e87c19 Finish merging 2018-11-26 00:08:33 -05:00
Lachlan Sneff
a8b62ae8a5 Hack together enough emscripten stack stuff to make it happy 2018-11-26 00:06:50 -05:00
Steve Akinyemi
399f72df94 Add some syscalls 2018-11-26 00:05:36 -05:00
Lachlan Sneff
4015fb6193 Hack together enough emscripten stack stuff to make it happy 2018-11-25 23:56:21 -05:00
Steve Akinyemi
6a72d942fd Update to use new varargs impl 2018-11-24 18:31:38 +01:00
Steve Akinyemi
c639bf850e Add some syscalls 2018-11-24 18:07:45 +01:00
Lachlan Sneff
587fb92de6 Add VarArgs type 2018-11-23 00:13:01 -05:00