Commit Graph

19 Commits

Author SHA1 Message Date
Lachlan Sneff
7632beced8
Add generic range bounds to mmap (#110) 2019-01-23 09:37:56 -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
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
69fd93937c merge vm_refactor_trap_handling into vm_refactor 2019-01-21 13:53:33 -08:00
Lachlan Sneff
b74a08f097 Add (hopefully-working) support for windows 2019-01-21 11:51:41 -08:00
Brandon Fish
3399dddb5b cargo fmt 2019-01-20 09:52:54 -06:00
Brandon Fish
e245742251 Remove commented out code 2019-01-20 09:43:43 -06:00
Lachlan Sneff
ebeea0c71c handle traps naively 2019-01-18 16:45:30 -08:00
Lachlan Sneff
8a9f5fa61a
Add special error types for compile, linking, and runtime errors. (#99)
* Add error types and convert most results to wasmer-runtime results

* Fix spectests

* Fix umbrella project to work with new error types
2019-01-18 10:54:16 -08:00
Lachlan Sneff
d23601a810 Add error types and convert most results to wasmer-runtime results 2019-01-18 09:17:44 -08:00
Lachlan Sneff
1dbbaa30b6 Get most spectests passing 2019-01-17 13:11:53 -08:00
Lachlan Sneff
bb9ed66cea Split codegen into multiple modules 2019-01-16 17:59:12 -08:00
Lachlan Sneff
5872d879f9 Local/Import index differentiation 2019-01-16 10:26:10 -08:00
Lachlan Sneff
a7ffb44bbc Rework imports 2019-01-12 22:02:19 -05:00
Lachlan Sneff
230e43a894 Rewrite exports and imports 2019-01-10 23:00:05 -05:00
Lachlan Sneff
985e2b2f42 Fix support for floating point numbers 2019-01-09 20:32:02 -05:00
Lachlan Sneff
8c74d0a551 Push debugging stuff to help debug calls not working 2019-01-09 18:32:13 -05:00
Lachlan Sneff
bba168e61e Support imported functions 2019-01-08 21:57:28 -05:00
Lachlan Sneff
7324c85749 Add clif-backend crate and runtime example 2019-01-08 16:04:03 -05:00