Commit Graph

1207 Commits

Author SHA1 Message Date
Syrus Akbary
b5e93ecae8 Improved docs on emscripten memory instantiation 2018-11-29 22:46:52 -08:00
Syrus Akbary
4ac6d4838f Fixed wrong syscalls debug strings 2018-11-29 22:39:45 -08:00
Syrus Akbary
a1b99bdf5d Merge branch 'master' into feature/compile-and-run-nginx-wasm 2018-11-29 22:31:44 -08:00
Syrus Akbary
a6f47fa17d Added ___emscripten_environ_constructor initializer 2018-11-29 22:31:24 -08:00
Syrus Akbary
d94e13778a Added emscripten ___build_environment mock 2018-11-29 21:59:43 -08:00
Syrus Akbary
8a4d26396d Trying to bypass recovery signal addr issue 2018-11-29 20:55:05 -08:00
Syrus Akbary
948f519a04 Make tests happy again 2018-11-29 20:49:34 -08:00
Syrus Akbary
55b0509654 Mock unimplemented cases for ___syscall54 (ioctl) 2018-11-29 19:43:24 -08:00
Syrus Akbary
0d6d91159e Merge branch 'feature/compile-and-run-nginx-wasm' of github.com:wasmerio/wasmer into feature/compile-and-run-nginx-wasm 2018-11-29 13:07:26 -08:00
Syrus Akbary
209062d27d Added debug for nullfuncs 2018-11-29 13:07:20 -08:00
Lachlan Sneff
c881f95eb6 Almost working 2018-11-29 15:49:04 -05:00
Syrus Akbary
adee7d42db Improved debug! in all emscripten calls 2018-11-28 22:02:25 -08:00
Lachlan Sneff
1db0306b8b implmented mmap2 2018-11-29 00:11:36 -05:00
Syrus Akbary
d85b7335cd Added first draft of Wasmer ARCHITECTURE 2018-11-28 16:43:11 -08:00
Syrus Akbary
65b36eb6ba Trying to use latest version of nix 2018-11-28 13:57:59 -08: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
Syrus Akbary
1f49f0358f Merge branch 'master' into feature/compile-and-run-nginx-wasm
# Conflicts:
#	src/bin/wasmer.rs
#	src/recovery.rs
2018-11-27 23:47:13 -08:00
Syrus Akbary
30f79554e5 Added unwind spectests 2018-11-27 23:38:35 -08:00
Syrus Akbary
836f6c70af Added memory_trap spectests 💪 2018-11-27 23:35:53 -08:00
Syrus Akbary
48e1849891
Merge pull request #31 from wasmerio/self-update
Added self-update command
2018-11-27 23:24:58 -08:00
Syrus Akbary
35b07ea9a3 Updated install script to use .wasmer/wasmer.sh 2018-11-27 23:19:51 -08:00
Syrus Akbary
4d41cbbac6 Merge branch 'master' into self-update
# Conflicts:
#	src/bin/wasmer.rs
2018-11-27 21:53:33 -08:00
Syrus Akbary
ffe294f4f0
Merge pull request #33 from losfair/wasmer-lib
Allow using wasmer as a library and install signal handler only once.
2018-11-27 21:31:30 -08:00
losfair
319bd08905 Install signal handler only once. 2018-11-28 13:21:03 +08:00
losfair
b9714e1ce1 Fix a few warnings 2018-11-28 13:18:23 +08:00
losfair
3815eaf13a Allow using wasmer as a library. 2018-11-28 13:15:33 +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
Steve Akinyemi
ad426fb5e3 Resolve REUSEADDR issue 2018-11-27 15:19:10 +01: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
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
Steve Akinyemi
c460ddd325 Merge branch 'feature/compile-and-run-nginx-wasm' of https://github.com/wafoundation/wasmer into feature/compile-and-run-nginx-wasm 2018-11-27 01:15:25 +01:00
Steve Akinyemi
1a08c19b5d Add __syscall340 2018-11-27 01:15:20 +01:00
Syrus Akbary
3fc759df63 Merge branch 'feature/compile-and-run-nginx-wasm' of github.com:wasmerio/wasmer into feature/compile-and-run-nginx-wasm 2018-11-26 14:30:55 -08:00
Syrus Akbary
adad0a0be2 Improved debug calls 2018-11-26 14:30:28 -08:00
Steve Akinyemi
5d64349894 Merge branch 'feature/compile-and-run-nginx-wasm' of https://github.com/wafoundation/wasmer into feature/compile-and-run-nginx-wasm 2018-11-26 23:28:01 +01:00
Steve Akinyemi
be07767faf Add GuestTm 2018-11-26 23:27:56 +01:00
Syrus Akbary
0ba5f1ecb7 Added mock for _strftime 2018-11-26 14:16:51 -08:00
Syrus Akbary
ac51a33d5e Improved utils from pritnln! to debug! 2018-11-26 14:06:05 -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
bef9f075f0 Removed duplicated emscripten time functions 2018-11-26 13:45:38 -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