Commit Graph

330 Commits

Author SHA1 Message Date
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
Syrus Akbary
f186ed8534 Added self-update command 2018-11-25 21:31:32 -08:00
Syrus Akbary
bb91006158
Merge pull request #30 from losfair/sa-onstack
Recover properly when a stack overflow occurs in user code.
2018-11-25 21:27:36 -08:00
losfair
dad50f6f2c Add the SA_ONSTACK flag to SigAction so that stack overflow doesn't prevent unwinding. 2018-11-26 13:13:52 +08: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
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
Syrus Akbary
f2d2c9b9f8 Use rayon for easy parallel compilation 2018-11-18 23:51:56 -08:00
Syrus Akbary
9680d586c3 Use iterator map for compilation 2018-11-18 22:12:22 -08:00