Commit Graph

2321 Commits

Author SHA1 Message Date
Brandon Fish
4b33b101ed Add a debug messages for mocked missing globals and tables 2018-12-16 10:43:35 -06:00
Syrus
982db0281c Added support for 0 or 2 params in main emscripten function 2018-12-15 22:51:10 -08:00
Syrus Akbary
ff45aea0ea [WIP] Improved memory handling (#56)
* Improved memory handling

* Fix memory accessibility

* Fix formatting
2018-12-15 13:30:53 -05:00
Syrus Akbary
64eff86395
Merge pull request #57 from bjfish/fix-additional-clippy-warnings
Fix additional clippy warnings
2018-12-14 23:41:18 -08:00
Brandon Fish
c6957a6287 Run cargo fmt to clean up 2018-12-15 01:17:55 -06:00
Syrus Akbary
914b20d01f
Merge branch 'master' into fix-additional-clippy-warnings 2018-12-14 23:06:45 -08:00
Syrus Akbary
ec83253a64
Merge pull request #58 from bjfish/configure-cargo-fmt
Configure cargo fmt
2018-12-14 23:04:26 -08:00
Brandon Fish
572115f140 Initial format using rustfmt 2018-12-15 00:46:11 -06:00
Brandon Fish
f651a47007 Add rustfmt make command and CI configure 2018-12-15 00:45:03 -06:00
Brandon Fish
9971c21d74 Fix clippy error equal expressions as operands to - 2018-12-15 00:11:32 -06:00
Brandon Fish
aa7fc05ea1 Fix clippy warning length comparison to one 2018-12-15 00:10:07 -06:00
Brandon Fish
d405d8de41 Fix clippy warnings unneeded returns 2018-12-15 00:07:14 -06:00
Brandon Fish
5b7f0f10dc Fix clippy redundant field names in struct initialization 2018-12-15 00:06:47 -06:00
Syrus Akbary
f51362be66
Merge pull request #54 from wasmerio/feature/runtime-upgrade
Wasmer runtime upgrade - Phase 1 (libcalls & memory)
2018-12-14 20:15:11 -08:00
Syrus
9d3b76835c Merge branch 'feature/runtime-upgrade' of github.com:wasmerio/wasmer into feature/runtime-upgrade 2018-12-14 19:57:44 -08:00
Syrus
1057131bc7 Added description of offset_guard_size 2018-12-14 19:57:00 -08:00
Syrus Akbary
81fb2fbd0b
Merge branch 'master' into feature/runtime-upgrade 2018-12-14 17:41:03 -08:00
Syrus
7e78d3c661 Improved max size code 2018-12-14 17:40:29 -08:00
Syrus
fd5554c3bd Refactored memory usage to use impl-abstract mmap 2018-12-14 17:32:35 -08:00
Syrus Akbary
6839115a27
Merge pull request #55 from bjfish/cleanup-build-warnings
Cleanup build warnings
2018-12-13 18:44:31 -08:00
Brandon Fish
5d9787ce44 Fix for warnings Pattern matching for Cargo's include changing
warning: Pattern matching for Cargo's include/exclude fields is changing and file `emtests/README.md` WILL be included in a future Cargo version.
See https://github.com/rust-lang/cargo/issues/4268 for more info
warning: Pattern matching for Cargo's include/exclude fields is changing and file `spectests/README.md` WILL be included in a future Cargo version.
See https://github.com/rust-lang/cargo/issues/4268 for more info
2018-12-13 20:00:11 -06:00
Brandon Fish
0b69d8465b Fix build warnings unused imports 2018-12-13 19:58:31 -06:00
Brandon Fish
e583226510 Fix build warning unnecessary unsafe 2018-12-13 19:58:08 -06:00
Steve Akinyemi
05aa3bc62a Fixing get_env 2018-12-14 00:11:48 +01:00
Syrus
a2bcdb658f Refactored libcalls 2018-12-13 12:49:30 -08:00
Syrus
38bd62be4d Trying to make it work 2018-12-13 12:36:53 -08:00
Steve Akinyemi
7f91a64cf6 Add a bunch of required functions and syscalls 2018-12-13 19:28:30 +01:00
Syrus
332840afe3 Added emscripten env test 2018-12-11 21:32:53 -08:00
Steve Akinyemi
2c2d21044f
Merge pull request #50 from wasmerio/fix/make-install-script-posix-compliant
Refactor and remove bash-specific syntax
2018-12-12 01:41:08 +01:00
Steve Akinyemi
d90ad6ebf6 Refactor and remove bash-specific syntax 2018-12-12 01:10:58 +01:00
Steve Akinyemi
83e1a0e75c
Merge pull request #42 from wasmerio/fix/localtime
Fix localtime implementation
2018-12-11 21:20:06 +01:00
Steve Akinyemi
fa1d602e26 Revert edition 2018-12-11 21:13:43 +01:00
Steve Akinyemi
d5f4541ac9 Merge branch 'fix/localtime' of https://github.com/wafoundation/wasmer into fix/localtime 2018-12-11 20:51:46 +01:00
Steve Akinyemi
cdf56f2865 Refactor localtime_r 2018-12-11 20:42:29 +01: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
899bd5c919 Fix failing compilation 2018-12-11 19:24:47 +01:00
Steve Akinyemi
877c13979a Fix localtime_r issue caused by temp var 2018-12-11 19:04:46 +01:00
Syrus Akbary
114f0f499a
Merge pull request #48 from wasmerio/emtests
Emscripten tests
2018-12-11 10:01:11 -08:00
Steve Akinyemi
2b1dac4d7d Refactor code 2018-12-11 18:06:20 +01:00
Steve Akinyemi
6f632e615f Add impl for asctime_r 2018-12-11 17:05:07 +01:00
Syrus
9a028abfe5 Refactored emscripten usage to allow future ABIs 2018-12-10 21:19:39 -08:00
Syrus
eefea5ebee Add emscripten imports conditionally 2018-12-10 21:07:41 -08:00
Syrus
34e9e52b56 Improved execute wasm to use emscripten conditionally 2018-12-10 20:15:41 -08:00
Syrus
914addc1f3 Remove Stdio hack 2018-12-10 19:35:42 -08:00
Syrus
6f179ed4d2 Fixed merge 2018-12-10 19:31:08 -08:00
Syrus Akbary
3efc030275
Merge branch 'master' into emtests 2018-12-10 19:21:32 -08:00
Syrus
028d86a300 Provide instance options when instantiating. Make tests monothreaded 2018-12-10 19:19:46 -08:00
Syrus
43128070b7 Added emtests autogenerated tests 2018-12-10 18:42:23 -08:00
Syrus
5796b172d1 Added emtests 2018-12-10 17:07:13 -08:00
Syrus
44a745e4f5 Added start_instance function 2018-12-10 16:23:14 -08:00