Commit Graph

2402 Commits

Author SHA1 Message Date
Brandon Fish
0c4175e7c3 Move the em specific run_instance code into em lib 2019-01-23 18:47:34 -06:00
Lachlan Sneff
c06bd15bff Change Ctx::memory to Ctx::memory_mut and add Ctx::memory 2019-01-23 16:06:42 -08:00
Lachlan Sneff
0aa1687ca3 Add context and context_mut methods to Instance 2019-01-23 15:58:28 -08:00
Lachlan Sneff
147b214965 Fix doc tests 2019-01-23 15:36:13 -08:00
Lachlan Sneff
bc2e527bb2 Add func method to Instance 2019-01-23 15:30:35 -08:00
Steve Akinyemi
8661a0096e Add getting main arguments 2019-01-23 22:29:51 +01:00
Syrus
c3b0a79877 Added tempDoublePtr to emscripten env 2019-01-23 12:46:46 -08:00
Syrus
b8db010c06 Added memory and table bases 2019-01-23 12:43:52 -08:00
Syrus
83d0c3e647 Formatted files 2019-01-23 12:35:14 -08:00
Syrus
70c512ecb3 Add table to the emscripten env 2019-01-23 12:34:56 -08:00
Lachlan Sneff
ab65477d1f
Refine the runtime api and document the exposed items (#115)
* private module, remove unused method, docs on compile_with

* refine runtime api and document exposed items

* Fix integration test build

* Fix lint
2019-01-23 12:34:15 -08:00
Syrus
c2036c9695 Added memory to emscripten env 2019-01-23 12:25:56 -08:00
Syrus
c627fce9f2 Fixed function signatures 2019-01-23 11:08:24 -08:00
Lachlan Sneff
7632beced8
Add generic range bounds to mmap (#110) 2019-01-23 09:37:56 -08:00
Brandon Fish
157183d212 Update to new runtime 2019-01-23 01:27:13 -06:00
Brandon Fish
3e9ef57d9d Cherry-picked fix 2019-01-23 00:31:58 -06:00
Syrus Akbary
f5407eef7c
Merge pull request #111 from wasmerio/feature/improve-libs
Improved libs
2019-01-23 01:08:29 -05:00
Syrus Akbary
3e7def07c5
Merge pull request #113 from wasmerio/feature/improved-dependencies
Removed unnecesary dependencies
2019-01-23 01:05:19 -05:00
Syrus
15f1246f49 Updated cache keys 2019-01-22 21:40:42 -08:00
Syrus
c3ee9a7ae5 Trying to improve macOS build speed on CircleCI 2019-01-22 21:35:29 -08:00
Syrus
24bf1417c6 Try to skip brew updates 2019-01-22 21:26:29 -08:00
Syrus
65d136e91a Updated Readme with dependencies installation instructions
Fix #107
2019-01-22 21:22:23 -08:00
Syrus
ecdad016fc Removed unnecesary dependencies 2019-01-22 20:52:10 -08:00
Syrus
88eb1d39a5 Improved Cargo congif
# Conflicts:
#	lib/clif-backend/Cargo.toml
2019-01-22 15:34:52 -08:00
Syrus
453801b5ff Added VERSION var to all the lib crates 2019-01-22 15:34:29 -08:00
Lachlan Sneff
38b0fbf3c5
Generate trampolines to call exported functions instead of using libffi (#108)
* remove codegen.rs

* Add export trampolines and remove libffi

* Remove unused extern crates
2019-01-22 15:00:27 -08:00
Syrus Akbary
ee67bf95db
Merge pull request #106 from wasmerio/feature/improved-docs
Improved docs, adding repo structure and libraries README
2019-01-22 16:08:18 -05:00
Syrus
7fd3b81043 Improved docs 2019-01-22 12:23:53 -08:00
Syrus
cd284e8a75 Improved docs, adding repo structure and libraries README 2019-01-22 11:34:36 -08:00
Brandon Fish
74875ed554 Library restructure (#104)
* Move wasmer-runtime to wasmer-runtime-core

* Add the runtime library

* Fix issue with macros using wasmer_runtime, fmt

* Make default compiler dependency optional

* Add instantiate and validate functions
2019-01-22 11:02:06 -08:00
Lachlan Sneff
62b8e7cc2d
Merge pull request #80 from wasmerio/feature/vm_refactor
VM Refactor, new runtime, and the ability to have multiple compilers.
2019-01-21 17:23:11 -08:00
Lachlan Sneff
37b3cc1613
Merge branch 'master' into feature/vm_refactor 2019-01-21 16:51:24 -08:00
Lachlan Sneff
6aca222795 Fix emscripten compile issue 2019-01-21 16:42:20 -08:00
Lachlan Sneff
39ddd8f258 Add imports macro 2019-01-21 16:24:49 -08:00
Lachlan Sneff
c7520035fd Fix macro AGAIN 2019-01-21 15:25:51 -08:00
Lachlan Sneff
dbd0f99514 Fix argument type conversion 2019-01-21 15:21:51 -08:00
Lachlan Sneff
29d053cb29 Fix macro again and inline docs 2019-01-21 15:10:07 -08:00
Lachlan Sneff
3563741f4f Remove macro feature that is confusing
This reverts commit fbe480cc08.
2019-01-21 14:50:17 -08:00
Lachlan Sneff
fbe480cc08 Fix macro 2019-01-21 14:47:19 -08:00
Lachlan Sneff
10c5aa02a2 Add export_func macro, prelude, and rename imports stuff 2019-01-21 14:43:04 -08:00
Lachlan Sneff
c25fce1721 Change memory parameter to u32 2019-01-21 14:05:32 -08:00
Lachlan Sneff
57a4991415 Fix trap_handling commit 2019-01-21 14:01:25 -08:00
Lachlan Sneff
69fd93937c merge vm_refactor_trap_handling into vm_refactor 2019-01-21 13:53:33 -08:00
Lachlan Sneff
de046491d2 finish support for traps 2019-01-21 13:43:48 -08:00
Lachlan Sneff
b74a08f097 Add (hopefully-working) support for windows 2019-01-21 11:51:41 -08:00
Syrus Akbary
3c1720a02b
Merge pull request #101 from Terkwood/fix/tiny-readme-update
Update README
2019-01-21 13:59:20 -05:00
Lachlan Sneff
a3821a90c1 fix broken test 2019-01-21 10:07:57 -08:00
Lachlan Sneff
8484199d29 fix formatting 2019-01-21 09:59:53 -08:00
Lachlan Sneff
6e9b002363 new way to access memory from the vmctx 2019-01-21 09:56:49 -08:00
Terkwood
3e09aaae4e Update README 2019-01-20 21:18:59 -05:00