Commit Graph

770 Commits

Author SHA1 Message Date
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
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
Syrus Akbary
39e1f59311 Merge branch 'master' into features/global-value-offset 2018-11-18 21:05:55 -08:00
Syrus Akbary
a7e1775255 Added mocking back into instance 2018-11-18 21:05:26 -08:00
Syrus Akbary
60b1520808 Improved naming of Exportable to ImportableExportable 2018-11-18 20:23:01 -08:00
Syrus Akbary
9f561db90b Added support for global value offsets
This commit depends on this PR landing on cranelift:
https://github.com/CraneStation/cranelift/pull/612
2018-11-18 20:22:18 -08:00
Steve Akinyemi
cb77e89c45 Add some syscalls 2018-11-19 01:12:29 +01:00
Steve Akinyemi
ab570e8be6 Add syscall function sig 2018-11-19 01:12:29 +01:00
Steve Akinyemi
79b74567b2 Update with link to top 2018-11-19 01:12:29 +01:00
Steve Akinyemi
f8eae09110 Add emscripten printf example and list of emscripten syscalls 2018-11-19 01:12:29 +01:00
Syrus Akbary
93881aa5e4
Merge pull request #10 from WAFoundation/cranelift-upgrade
Upgrade to Cranelift 0.23
2018-11-18 15:51:56 -08:00
Syrus Akbary
998d7294f0 Fix table element size 2018-11-18 15:41:31 -08:00