Syrus
93024cccc8
Last round of feedback
2020-06-15 15:16:23 -07:00
Syrus
0ae7982931
Re-enabled non-optimized function trampolines approach
2020-06-15 14:53:34 -07:00
Syrus
050493e354
Fixed lint issue
2020-06-15 13:58:57 -07:00
Syrus
58cc08e37a
Inline further to optimize native calls
2020-06-15 13:48:07 -07:00
Syrus
24077fb919
Added tests for host functions calls
2020-06-15 13:33:46 -07:00
Syrus
99ed3e889e
Simplified has_env structure
2020-06-15 13:22:20 -07:00
Syrus
fca0d0c9fe
Fixed feedback
2020-06-15 12:59:07 -07:00
Syrus
e5838d8ccb
Added full support for dynamic functions with env
2020-06-13 15:52:42 -07:00
Syrus
b7dc092256
Fixed native compilation
2020-06-13 01:21:10 -07:00
Syrus
cd1138d520
Added support for native calls to dynamic functions
2020-06-12 20:50:24 -07:00
Syrus
21389f34ce
Improved docs
2020-06-12 19:01:58 -07:00
Mark McCaskey
59c3fb6dcf
Merge branch 'master' into feature/port-emscripten
2020-06-12 13:04:27 -07:00
Syrus Akbary
2095f7cc13
Merge pull request #96 from wasmerio/feat-api-imports-macro
...
feat(api) Update and better test the `imports` macro
2020-06-12 03:27:13 -07:00
Syrus
1e85e0d528
Update version to 1.0.0-alpha.1
2020-06-11 15:31:29 -07:00
Syrus
bf03c734fc
Misc improvements
2020-06-11 14:29:16 -07:00
Mark McCaskey
4b48f8ffe4
Merge branch 'master' into feature/port-emscripten
2020-06-11 13:58:52 -07:00
nlewycky
afc7e0f0b9
Merge pull request #99 from wasmerio/clippy-build
...
Fix Engine::same().
2020-06-11 10:02:40 -07:00
Syrus
36223364e0
Updated Wasmer versions to 1.0
2020-06-11 09:52:26 -07:00
Syrus
7991d69076
Improved README showcasing each compiler
2020-06-11 09:43:36 -07:00
Mark McCaskey
04025d62eb
Fix typo
2020-06-10 17:34:02 -07:00
Mark McCaskey
70e25a7396
Emscripten compiles with no errors!
2020-06-10 17:03:44 -07:00
Mark McCaskey
5a6f4f12de
Clean up and port various parts of emscripten
2020-06-10 13:59:36 -07:00
Mark McCaskey
f9d8249a2f
Update Emscripten to use new env and new types
2020-06-10 11:52:17 -07:00
Syrus Akbary
d37a4d9d80
Merge pull request #105 from wasmerio/feat-clippy
...
Makes Clippy happy
2020-06-10 07:57:58 -07:00
Mark McCaskey
3f45582097
Merge branch 'master' into trace-issue
2020-06-09 16:35:37 -07:00
Mark McCaskey
87a7f11b63
Merge branch 'master' into trace-issue
2020-06-09 14:42:01 -07:00
Mark McCaskey
d492084f63
Fix tests
2020-06-09 14:35:42 -07:00
Syrus
f8fbb33b00
Fixed package tests
2020-06-09 14:32:38 -07:00
Mark McCaskey
7eb54950f1
Revert changes to Exportable
2020-06-09 13:26:12 -07:00
Mark McCaskey
a8faa2eb9c
Add benchmark with many parameters
2020-06-09 13:14:12 -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
Ivan Enderlin
73ab4c88d7
chore(api) Implement Default for Exports.
2020-06-09 15:53:58 +02:00
Ivan Enderlin
4f3be8b1ee
chore(api) Replace structure name by Self.
2020-06-09 15:53:26 +02:00
Ivan Enderlin
cb824d7f19
chore(api) Lifetime can be elided.
2020-06-09 15:52:59 +02:00
Ivan Enderlin
91d3182e49
chore(api) Copy type instead of cloning it.
2020-06-09 15:51:46 +02:00
Ivan Enderlin
88ea49564b
fix(api) Restore the unimplemented! macro.
2020-06-09 15:50:54 +02:00
Ivan Enderlin
2dddfc8b39
doc(api) Draft Safety Sections.
2020-06-09 15:48:44 +02:00
Ivan Enderlin
e975925cf2
chore(api) Allow complex types.
2020-06-09 15:47:27 +02:00
Ivan Enderlin
5c7cb75458
feat(api) Implement Default for ImportObject.
2020-06-09 15:45:07 +02:00
Ivan Enderlin
066c7ff1cc
chore(api) Allow complex types.
2020-06-09 15:44:02 +02:00
Ivan Enderlin
5fc6b0b293
doc(api) Add a Safety Section.
2020-06-09 15:43:27 +02:00
Ivan Enderlin
0defd400a2
chore(api) Replace match by if let.
2020-06-09 15:42:38 +02:00
Ivan Enderlin
0b95b7e99f
chore(api) Lazily bound memory when calling Pages::max_value().
2020-06-09 15:41:32 +02:00
Ivan Enderlin
0957e040c9
test(api) Migrate more tests for the imports! macro.
2020-06-09 10:27:45 +02:00
Syrus
b57bbb1256
Added traps tests
2020-06-08 19:13:13 -07:00
Mark McCaskey
87a28b057e
Move NativeFunc test from api to test/compilers
2020-06-08 16:37:33 -07:00
Mark McCaskey
3c76999925
Implement Exportable for &Ts too (for some T)
2020-06-08 16:26:47 -07:00
Mark McCaskey
e70828eb37
Fix up tests and benchmark to use new get
2020-06-08 16:10:05 -07:00
Mark McCaskey
8530e5eb55
Implement Exportable for NativeFunc
2020-06-08 16:07:22 -07:00