Ivan Enderlin
d801eb4bfe
feat: Use latest version of loupe.
2021-03-23 14:57:36 +01:00
Ivan Enderlin
906079fd9d
feat: Implement MemoryUsage for Instance.
2021-03-23 14:57:36 +01:00
kevaundray
afd4d28cef
typo undelying -> underlying
2021-02-18 15:09:24 +00:00
Mark McCaskey
d54a8b8676
Improve Wasmer API intro docs
2020-12-07 13:29:53 -08:00
Ivan Enderlin
7973a965fb
Merge branch 'master' into fix-vm-leak
2020-12-01 10:08:21 +01:00
Mark McCaskey
03410c15a1
Rename EngineExport to Export
2020-11-30 12:32:53 -08:00
Mark McCaskey
8669e92ed4
Move EngineExport to engine
2020-11-25 16:44:21 -08:00
Mark McCaskey
7013163829
WIP attempt to make an Export wrapper type
...
I can't figure out how we can ever use the non-wrapped type though
2020-11-25 10:59:04 -08:00
Ivan Enderlin
d5c7b628be
Merge branch 'master' into fix-vm-leak
2020-11-23 17:37:21 +01:00
Mark McCaskey
eeed1b9124
Rename LegacyEnv to UnsafeMutableEnv
2020-11-20 14:21:54 -08:00
Mark McCaskey
a95c44583c
Add hack to get deprecated API to work
2020-11-19 17:43:33 -08:00
Ivan Enderlin
ca89bd5d75
feat(api) Rename Extern::from_export to …::from_vm_export.
...
I hope this little change will clarify a little bit that the `Export`
passed to `Extern::from_vm_export` is not a `wasmer::Export` but a
`wasmer_vm::Export`.
2020-11-19 11:06:18 +01:00
Nick Lewycky
294496099e
Use Self instead of the full name of the structure.
...
https://rust-lang.github.io/rust-clippy/master/index.html#use_self
2020-10-08 20:33:48 -07:00
Syrus
1293df8dd6
Added Debug to public structs. Close #173
2020-07-21 20:38:32 -07:00
Ivan Enderlin
e52d476b54
doc(api) Add missing documentation for from_export.
2020-07-16 13:31:02 +02:00
Ivan Enderlin
a71244ba65
Merge branch 'master' into feat-deprecated-runtime-core
2020-07-16 13:27:59 +02:00
Syrus
9a80977743
Improved docs a bit further
2020-07-15 18:12:18 -07:00
Syrus
7bf6b9efc9
Added spec docs to app API public objects
2020-07-15 17:40:35 -07:00
Ivan Enderlin
2f5169ec11
Merge branch 'master' into feat-deprecated-runtime-core
2020-07-09 10:45:40 +02:00
Syrus
92f8651312
Renamed wasmer_runtime to wasmer_vm
2020-07-07 21:26:06 -07:00
Ivan Enderlin
19dea53dd1
Merge branch 'master' into feat-deprecated-runtime-core
2020-07-03 10:29:15 +02:00
Ivan Enderlin
8c937d3db4
Merge branch 'master' into feat-rename-wasmexterntype
2020-07-02 11:23:08 +02:00
Ivan Enderlin
3f924dbb45
feat(api,emscritpen,wasi) Update WasmExternType to FromToNativeWasmType.
2020-06-30 12:10:27 +02:00
Ivan Enderlin
7fa03f64da
Merge branch 'feat-api-re-export' into feat-deprecated-runtime-core
2020-06-25 11:17:02 +02:00
Ivan Enderlin
9b721fab1b
feat(api) Re-export WithEnv and WithoutEnv.
...
It is required for `deprecated/runtime-core/`.
2020-06-25 11:15:43 +02:00
Ivan Enderlin
7050bd9f58
Merge branch 'master' into feat-deprecated-runtime-core
2020-06-25 09:51:15 +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
Ivan Enderlin
13b18e76df
feat(api) Make Extern::from_export public.
2020-06-15 13:32:22 +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