Commit Graph

41 Commits

Author SHA1 Message Date
Mark McCaskey
ef60f08740 Merge branch 'master' into feature/reference-types 2021-03-23 09:42:34 -07:00
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
Mark McCaskey
d392ce3cd7 Fix up TODOs and get tests passing again 2021-02-24 13:02:32 -08:00
Mark McCaskey
0b34d0d86d Revert Table::get method to return Option 2021-02-19 07:43:17 -08:00
Mark McCaskey
1d3ee22991 Get spectests passing with compiler-cranelift with hacks 2021-02-10 11:20:47 -08:00
Mark McCaskey
6cfcc92d52 Implement further for compiler-cranelift; add ExternRef 2021-02-08 12:49:15 -08:00
Mark McCaskey
e013581fda Update vm::Table to support more than just funcref 2021-01-29 10:19:19 -08:00
Ivan Enderlin
78faa4fa25 doc: Fix links.
Since the `intra-doc-links` feature has been stabilized, we can see
more clearly that we have many broken links. This PR is an attempt to
fix them!
2020-12-17 11:24:54 +01:00
Ivan Enderlin
facd41412a feat(vm) Rename the instance_allocator fields to instance_ref. 2020-12-14 10:28:38 +01: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
9e0cfcebbb Rename vm::Export to vm::VMExport 2020-11-30 11:38:14 -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
e77afea383 big patch: Start injecting InstanceAllocator everywhere. 2020-11-23 17:25:09 +01: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
Mark McCaskey
9fdbb0886c Split memory, table creation. Mark unsafe functions unsafe 2020-10-15 15:42:54 -07:00
Mark McCaskey
de79a408ee Merge branch 'master' into feature/add-table-example 2020-10-14 16:31:25 -07:00
Mark McCaskey
49fe1734b3 Fix local table ownership issue 2020-10-14 16:12:35 -07:00
Mark McCaskey
4fc8ace118 Fix local memory ownership issue -- WIP
This commit contains a ton of debug code that we'll need to remove
2020-10-14 15:15:50 -07:00
Nick Lewycky
400006cc25 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:31:15 -07:00
Nick Lewycky
dbdf346aec Fix build of docs. 2020-07-27 14:36:20 -07:00
Syrus
9a80977743 Improved docs a bit further 2020-07-15 18:12:18 -07:00
Syrus
0c13173624 Fixed comments based on feedback 2020-07-15 18:04:13 -07:00
Syrus
7bf6b9efc9 Added spec docs to app API public objects 2020-07-15 17:40:35 -07:00
Syrus
92f8651312 Renamed wasmer_runtime to wasmer_vm 2020-07-07 21:26:06 -07:00
Syrus
9ca25a62a7 Simplify memory & table exports 2020-07-07 20:10:15 -07:00
Syrus
98f2e8fe26 Remove TablePlans 2020-07-07 15:10:03 -07:00
Syrus
931aa94587 Starting to refactor table styles 2020-07-07 14:49:06 -07:00
Mark McCaskey
4711abdebb Fix deadlock in Table implementation 2020-07-06 10:56:52 -07:00
Mark McCaskey
de0c548653 Improve thread safety of core types 2020-07-06 10:52:19 -07:00
Syrus
5273fa0cae Moved tunables into Store 2020-06-18 12:56:38 -07:00
Mark McCaskey
3d46711cb3 Add Table as a trait 2020-06-17 12:18:22 -07:00
Syrus
b00f899913 Update to Cranelift 0.65, wasmparser 0.57 2020-06-15 18:00:48 -07:00
Syrus
d0117b0509 Fixed lint issues 2020-06-03 14:11:34 -07:00
Syrus
f1b7e6539b Fixed issues 2020-06-03 14:06:50 -07:00
Syrus
f6fd628953 Improved Table API to matching Memory API 2020-06-03 13:51:26 -07:00
Mark McCaskey
e45a5b5af9 Add Tables to C API; clean up 2020-05-29 17:14:17 -07:00
Ivan Enderlin
0ba966018b feat(api) Split the externals module into sub-modules. 2020-05-28 16:07:17 +02:00