Commit Graph

13 Commits

Author SHA1 Message Date
Syrus
b06f021612 Improved Function API 2020-07-21 20:02:01 -07:00
Syrus
80ad395441 Fixed code linting 2020-07-16 12:33:00 -07:00
Syrus
296f0969f0 Fixed tests 2020-07-16 12:28:42 -07:00
Syrus
ffc1e28aa2 Remove all nightly dependencies 2020-07-01 15:11:41 -07:00
Mark McCaskey
ef285aae6c Merge pull request #110 from wasmerio/feature/functions-own-their-envs
Change functions to own their `env`s
2020-06-16 13:36:05 -07:00
Syrus
b00f899913 Update to Cranelift 0.65, wasmparser 0.57 2020-06-15 18:00:48 -07:00
Mark McCaskey
b232b237b5 Fix API tests 2020-06-12 16:56:15 -07:00
Mark McCaskey
5f5c7d6725 Clean up and comment out some NativeFunc tests for now 2020-06-09 12:36:07 -07:00
Mark McCaskey
eb928e739c Implement host functions in 1 case, optimize NativeFunc::call
`NativeFunc::call` is about 8% faster in the case we're benchmarking
by avoiding allocating a vector for the params / returns, instead we
do logic to determine which is larger and use that, conditionally
copying it back to the rets array if needed.
2020-06-09 11:35:58 -07:00
Mark McCaskey
3c76999925 Implement Exportable for &Ts too (for some T) 2020-06-08 16:26:47 -07:00
Mark McCaskey
b46ea5b9cb Get NativeFunc passing basic tests 2020-06-08 12:53:00 -07:00
Syrus
62fb4f79c1 Moved misc test into api test 2020-05-27 11:55:21 -07:00
Syrus
7db247e07c Added basic external tests 2020-05-26 18:12:01 -07:00