Lachlan Sneff
a20627964c
Improve runtime docs and add readme ( #118 )
...
* Add crate-level documentation
* add runtime readme
* Fix lint
2019-01-24 10:51:20 -08:00
Lachlan Sneff
e5c86e00ff
Remove use of debug macro ( #117 )
2019-01-24 09:46:28 -08:00
Syrus
c745d38a39
Make emscripten data functions optional
2019-01-24 00:11:12 -08:00
Brandon Fish
9970d2871b
Add Debug impl for EmscriptenData
2019-01-24 00:17:43 -06:00
Brandon Fish
943fc3900a
Addition build warning cleanup
2019-01-24 00:05:07 -06:00
Brandon Fish
89c2aa8c32
Cleanup imports and other warnings
2019-01-24 00:00:38 -06:00
Brandon Fish
99bc454c5b
Add EmscriptenData to instance and update usages
2019-01-23 23:49:34 -06:00
Brandon Fish
82e7ab6394
Merge branch 'master' into fix/emscripten-translate
2019-01-23 22:57:00 -06:00
Brandon Fish
5ee24d7817
Revert more visibility changes
2019-01-23 22:38:43 -06:00
Brandon Fish
8266386119
Add instance.ctx() to make inner private again
2019-01-23 22:27:33 -06:00
Syrus
2973a32502
Updated cargo
2019-01-23 16:59:37 -08:00
Syrus Akbary
502307395f
Merge pull request #116 from wasmerio/feature/func-method
...
Add func method to Instance
2019-01-23 19:54:59 -05:00
Brandon Fish
6a5386e313
Fix test runner
2019-01-23 18:52:33 -06:00
Lachlan Sneff
ab25125bba
Change error discriminant name
2019-01-23 16:51:34 -08:00
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