Commit Graph

782 Commits

Author SHA1 Message Date
Syrus Akbary
a44a3b0456 Improved trap catching with call_protected macro 2018-11-26 00:01:30 -05:00
losfair
6d09fab498 Add notes about async signal safety 2018-11-26 00:01:30 -05:00
losfair
227a3ee6d6 Recover safely from WebAssembly-generated traps 2018-11-26 00:01:30 -05:00
Lachlan Sneff
4015fb6193 Hack together enough emscripten stack stuff to make it happy 2018-11-25 23:56:21 -05:00
Lachlan Sneff
399d253bc1 Segfault-based memory bounds-checking. (#29)
* Mostly working

* Improve CircleCI releases

* Recover safely from WebAssembly-generated traps

* Add notes about async signal safety

* Improved trap catching with call_protected macro

* Improved test assert_trap code using call_protected macro

* Mostly working
2018-11-25 10:51:21 -08:00
Syrus Akbary
c62e9455e1
Merge pull request #28 from wasmerio/trap-unwind
Trap unwind
2018-11-24 11:11:32 -08:00
Syrus Akbary
6b75580749 Improved test assert_trap code using call_protected macro 2018-11-24 10:52:17 -08:00
Syrus Akbary
e258875d4b Improved trap catching with call_protected macro 2018-11-24 10:50:48 -08:00
Steve Akinyemi
88235eab37 Remove failing impl 2018-11-24 18:38:51 +01: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
Steve Akinyemi
d351ac0136 Remove old emscripten examples 2018-11-24 18:07:08 +01:00
Steve Akinyemi
2486ac96a3 Add existing syscalls impl 2018-11-24 18:07:08 +01:00
Steve Akinyemi
916b266bb3 Add nginx.wat 2018-11-24 18:06:30 +01:00
Steve Akinyemi
44429aae74 Add legend to emscripten readme 2018-11-24 18:06:30 +01:00
Steve Akinyemi
c7ac71b0e4 Reafactor varargs macro 2018-11-24 18:06:30 +01:00
losfair
a316253b94 Add notes about async signal safety 2018-11-24 22:25:32 +08:00
losfair
5de9f0f7b4 Recover safely from WebAssembly-generated traps 2018-11-24 19:40:29 +08:00
Syrus Akbary
453b7c9f12
Merge pull request #25 from wasmerio/improve-circleci-releases
Improve CircleCI releases
2018-11-23 10:38:22 -08:00
Syrus Akbary
21c74db3df Improve CircleCI releases 2018-11-23 10:35:41 -08:00
Syrus Akbary
3dc911989f
Merge pull request #24 from wasmerio/feature/type-safety
Add VarArgs newtype to simplify emscripten varargs.
2018-11-23 07:28:11 -08:00
Lachlan Sneff
6121370656 Fix debug macro warnings 2018-11-23 00:13:20 -05:00
Lachlan Sneff
587fb92de6 Add VarArgs type 2018-11-23 00:13:01 -05:00
Syrus Akbary
0d23a173c4
Merge pull request #23 from 0xflotus/patch-1
fixed WebAssembly
2018-11-22 19:58:09 -08:00
0xflotus
4ad8de5dfa
fixed WebAssembly 2018-11-23 00:52:57 +01:00
Syrus Akbary
2d69af9669 Updated cranelift submodule link to allow anonymous pulling 2018-11-22 10:45:01 -08:00
Syrus Akbary
3ea37dcc59 Updated references from wafoundation to wasmerio 2018-11-21 22:19:14 -08:00
Syrus Akbary
8d4594bb7f Updated README 2018-11-21 22:12:34 -08:00
Syrus Akbary
ad562ddc35 Remove debug statements on release 2018-11-21 21:22:27 -08:00
Syrus Akbary
cf22c6f1b1
Merge pull request #20 from WAFoundation/feature/add-emscripten-compatible-apis
Add emscripten compatible apis
2018-11-21 21:11:11 -08: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
ccdabd26b5 pypyjs.wasm is finally working 🎉 2018-11-21 20:58:32 -08:00
Syrus Akbary
a50e846f9b Refactored host code 2018-11-21 15:10:03 -08:00
Syrus Akbary
1f6e640054 Improved emscripten integration 2018-11-21 14:31:55 -08:00
Syrus Akbary
5ad5606b39 Added APIs to support conditional emscripten instantiation 2018-11-20 20:51:11 -08:00
Syrus Akbary
3f1a6e5ac6 Improved make test to receive args 2018-11-20 20:32:23 -08:00
Syrus Akbary
0ad10a4900 Make emscripten “work” 2018-11-20 19:24:23 -08:00
Syrus Akbary
fca2eb3884 Merge branch 'master' into feature/add-emscripten-compatible-apis
# Conflicts:
#	Cargo.lock
#	cranelift
#	src/webassembly/instance.rs
2018-11-20 19:07:51 -08:00
Syrus Akbary
b75a9c3acd Fix build release pulling the submodules 2018-11-20 16:33:47 -08:00
Syrus Akbary
f8710ffafd
Merge pull request #17 from WAFoundation/parallel-compilation
Parallel compilation
2018-11-20 16:32:59 -08:00
Syrus Akbary
f3833dc237 Merge branch 'master' into parallel-compilation
# Conflicts:
#	src/webassembly/instance.rs
2018-11-20 16:30:25 -08:00
Syrus Akbary
757134f531
Merge pull request #16 from WAFoundation/features/global-value-offset
Added support for global value offsets
2018-11-20 16:21:38 -08:00
Syrus Akbary
c141f8b64c Use local cranelift 2018-11-20 16:19:00 -08:00
Steve Akinyemi
771dae7feb Refactor api code and doc 2018-11-21 00:45:57 +01:00
Steve Akinyemi
70e3262bf8 Add some other emscripten apis 2018-11-20 00:43:07 +01:00
Syrus Akbary
3070667edd Remove offsets print 2018-11-19 13:21:35 -08:00
Syrus Akbary
3fa01be0bb Remove offsets print 2018-11-19 13:21:11 -08:00
Syrus Akbary
3b878620cc Added support for mocking globals and tables by default 2018-11-19 13:09:16 -08:00
Syrus Akbary
12dc70d497 Added support for global references 2018-11-19 10:27:55 -08:00