Commit Graph

8 Commits

Author SHA1 Message Date
Ivan Enderlin
3f924dbb45 feat(api,emscritpen,wasi) Update WasmExternType to FromToNativeWasmType. 2020-06-30 12:10:27 +02:00
Ivan Enderlin
07aff22c30 feat(api/wasm-common) Move WasmExternType from wasm-common to wasmer.
Because there is a trait implementation conflicts for the
implementations `WasmTypeList` for `$x*` where `$x: WasmExternType`.
2020-06-22 11:10:18 +02:00
Ivan Enderlin
5e26d9a74b !temp Move HostFunction, Func & co. into wasmer.
Because `Func` needs an access to the runtime API (`wasmer-runtime`)
to trap properly, either we move parts of `wasmer-runtime` to
`wasm-common`, or we move parts of `wasm-common` into `wasmer`. I
decided to go with the second approach since `wasmer` is the only
crate to use `HostFunction` & co. It's not “common” by definition, and
it's way easier (for the moment).
2020-06-19 15:20:28 +02:00
Mark McCaskey
7eb54950f1 Revert changes to Exportable 2020-06-09 13:26:12 -07:00
Mark McCaskey
3c76999925 Implement Exportable for &Ts too (for some T) 2020-06-08 16:26:47 -07:00
Mark McCaskey
8530e5eb55 Implement Exportable for NativeFunc 2020-06-08 16:07:22 -07:00
Mark McCaskey
b46ea5b9cb Get NativeFunc passing basic tests 2020-06-08 12:53:00 -07:00
Ivan Enderlin
0ba966018b feat(api) Split the externals module into sub-modules. 2020-05-28 16:07:17 +02:00