Ivan Enderlin
4b0775c64f
feat(deprecated) Rename wasmer-runtime to wasmer-vm.
2020-07-09 10:50:03 +02:00
Ivan Enderlin
54e27854d2
feat(deprecated) Port Exports::iter.
2020-07-07 15:33:02 +02:00
Ivan Enderlin
a6dac27804
feat(deprecated) Exports::new is public to the crate only.
2020-07-07 13:20:25 +02:00
Ivan Enderlin
0074b6cca5
doc(deprecated) Port documentation of Instance.
2020-07-06 11:27:19 +02:00
Ivan Enderlin
a8857db2b6
feat(deprecated) Remove Instance::load.
...
This method cannot be ported. Prevent the user to deal with errors by
simply removing it.
2020-07-06 11:09:16 +02:00
Ivan Enderlin
411bef7d80
fix(deprecated) Instance::resolve_func works on exported functions.
...
The `ModuleInfo.func_names` field contains all function names given by
the Name Section of a Wasm module. Most of the time, this section is
empty, and that's not the expected behavior. What is expected is
`resolve_func` to resolve _exported_ functions, not all functions.
2020-07-02 16:08:26 +02:00
Ivan Enderlin
d843dfc17d
feat(deprecated) Port Instance::exports().
2020-07-02 13:43:10 +02:00
Ivan Enderlin
ed8bdf269d
feat(deprecated) Port Instance::func.
2020-07-02 12:48:03 +02:00
Ivan Enderlin
ee28303932
feat(deprecated) Port DynFunc and Instance::dyn_func.
2020-07-02 12:13:11 +02:00
Ivan Enderlin
8078f081be
feat(deprecated) Add Ctx.module_info.
2020-06-30 14:55:44 +02:00
Ivan Enderlin
dea04859e4
feat(deprecated) Rename Ctx::new to Ctx::new_uninit + unsafe.
2020-06-30 14:30:21 +02:00
Ivan Enderlin
87acd48fe4
feat(deprecated) DynamicFunc receives a mutable borrow vm::Ctx.
2020-06-30 11:08:53 +02:00
Ivan Enderlin
d95f92fbf1
feat(deprecated) Port DynamicFunc.
2020-06-29 15:25:41 +02:00
Ivan Enderlin
1094863f2c
!tmp Attempt to implement Func::call(a, b, c, …)
2020-06-25 17:03:39 +02:00
Ivan Enderlin
4269509d40
feat(deprecated) Port Exports (wrapper around wasmer::Exports).
2020-06-25 13:27:50 +02:00
Ivan Enderlin
25eb0af97d
feat(deprecated) Fix host function, and drop the empty vm::Ctx correctly.
2020-06-25 11:14:00 +02:00
Ivan Enderlin
aa388085d8
feat(deprecated) Clean up Ctx.
2020-06-18 10:28:40 +02:00
Ivan Enderlin
c485e0f610
feat(deprecated) Remove debugging statements.
2020-06-18 10:26:57 +02:00
Syrus
71629b9a2e
Fixed set vmctx
2020-06-15 23:46:03 -07:00
Ivan Enderlin
8269154165
!temp Implement vm::Ctx.
2020-06-12 15:10:52 +02:00
Ivan Enderlin
ba7f6f7679
feat(deprecated) Implement LikeNamespace for Instance.
2020-06-09 11:02:47 +02:00
Ivan Enderlin
e13c55dfd3
feat(depreacted) Remove unused import.
2020-06-08 16:52:41 +02:00
Ivan Enderlin
0e13ab572f
feat(deprecated) Remove the deprecated Instance.func method.
2020-06-08 16:24:02 +02:00
Ivan Enderlin
b71264d71d
feat(deprecated) Remove Instance.exports().
2020-06-08 15:26:43 +02:00
Ivan Enderlin
3b30f295f2
feat(depreacted) Port Exports and Instance.exports.
2020-06-08 15:26:18 +02:00
Ivan Enderlin
c1e3c16bcd
feat(deprecated) Remove Instance.module.
...
1. This field was public, but hidden from the doc'.
2. It requires the ownership of `ModuleInfo` but with the new code
structure, it is only possible to get a reference to
it. Introducing lifetime here would mess with `Module` and
`Instance`.
2020-06-08 15:16:48 +02:00
Ivan Enderlin
a3e1c63ebb
feat(deprecated) #45 has been closed, move code here.
2020-06-04 11:38:48 +02:00
Ivan Enderlin
1c582a224b
feat(deprecated) Remove #[deprecated] attributes.
2020-05-28 12:13:37 +02:00
Ivan Enderlin
d405c3f311
feat(deprecated) Port Export.
2020-05-28 10:54:38 +02:00
Ivan Enderlin
34b7a6937e
feat(depreacted) Implement Clone for Instance and Module.
2020-05-26 11:03:48 +02:00
Ivan Enderlin
f605b79baf
feat(deprecated) Port TypedIndex (alias to EntityRef).
2020-05-26 10:50:50 +02:00
Ivan Enderlin
54ac49a948
feat(deprecated) Instance::module returns a runtime_core::module::Module.
2020-05-25 14:58:50 +02:00
Ivan Enderlin
a1783f7408
feat(deprecated) Port Exports.
2020-05-25 14:56:42 +02:00
Ivan Enderlin
9b70374a2c
fix(deprecated) Fix Value in the instance module.
2020-05-25 11:04:38 +02:00
Ivan Enderlin
448b07ef35
feat(deprecated) Mimics units and values module.
2020-05-25 10:36:03 +02:00
Ivan Enderlin
c64698c3d0
feat(deprecated) Port Module::instantiate().
2020-05-22 15:13:45 +02:00
Ivan Enderlin
66ac1932cf
feat(deprecated) Try to port compile_with_*.
2020-05-22 14:56:41 +02:00
Ivan Enderlin
290739d4c5
feat(deprecated) Port instance.module().
2020-05-22 14:33:13 +02:00
Ivan Enderlin
864e368449
feat(deprecated) Update deprecation note.
2020-05-22 14:31:58 +02:00
Ivan Enderlin
23ae5bf7d3
feat(deprecated) Port Instance::exports().
2020-05-22 14:30:47 +02:00
Ivan Enderlin
faa1bc3158
feat(deprecated) Wrap a new module.
2020-05-22 11:18:05 +02:00
Ivan Enderlin
473da3de7d
feat(deprecated) Port Instance::call.
2020-05-22 11:15:10 +02:00
Ivan Enderlin
5596a5c82c
feat(deprecated) Update deprecation message.
2020-05-22 10:50:06 +02:00
Ivan Enderlin
ed19fb9168
cont'd (rebase on top of #45 )
2020-05-22 10:49:01 +02:00
Ivan Enderlin
c41c657728
cont'd
2020-05-22 10:47:19 +02:00
Ivan Enderlin
ec1b7bbf00
feat(deprecated/core) Try to re-implement resolve_func.
2020-05-22 10:47:19 +02:00
Ivan Enderlin
c885432ab8
feat(deprecated/core) Start.
2020-05-22 10:47:19 +02:00