Commit Graph

22 Commits

Author SHA1 Message Date
ea3b6fa6d7 Add missing rustdocs for Windows code 2019-11-10 16:03:43 -06:00
1f9316b5ae Update Protect enum with suggestions 2019-11-10 14:31:36 -06:00
aad390d09d Deny missing docs in runtime core and add missing docs 2019-11-10 13:13:18 -06:00
83c3909b00 Implement it for memory and make Instance Send 2019-09-17 14:58:26 -07:00
75959577c3 Protect::ReadWriteExec is readable and writable.
Also assert that page size is a power of two in two places we assume it is.
2019-08-07 16:49:29 -07:00
0dfa1f68a8 Formatted code 2019-07-31 23:51:12 -07:00
ebce7d0371 Updated dependencies 2019-07-31 23:42:54 -07:00
36a78a23b6 Fix Windows crash on caching compiled artifact.
Memory clone function wasn't able to write to new reserved memory object.

Changed so allocating Memory objects with protection flag allocates commited memory.
2019-05-08 15:59:00 +02:00
17eada53f3 feat(runtime) Get ready for tiering (#257)
* Add local_function field to context

* Add local call indirection to llvm

* local call indirection

* Fix  vm test

* Fix cranelift local call indirection

* Fix unwinding on nightly
2019-03-08 15:15:16 -08:00
bde2022b58 fix appveyor installer and build (#224)
* remove exception handler when function returns or throws

* revert to only reserving and not committing memory due to issues

* appveyor builds for release, caches more, only publish artifact once
2019-03-01 13:16:32 -08:00
95062d524a commit virtual memory before copying (#212) 2019-02-27 14:20:53 -08:00
82eef13f41 Create a grow error and refactor grow impl to return result (#191) 2019-02-22 22:18:59 -08:00
9f40eedba8 Get caching working again 2019-02-20 16:41:41 -08:00
82eea00a02 Saved 2019-02-19 15:36:22 -08:00
6a1fdb7f91 add windows exception handling in C (#175) 2019-02-14 09:58:33 -08:00
351b4feeeb implement with_size_protect (#163)
* implement with_size_protect

* no more conditional compilation
2019-02-08 10:32:20 -08:00
bca702794c assign to the protect enum (#153) 2019-02-07 09:04:57 -08:00
8fe9b7eac2 Add caching. (#134)
* Allow a module to have a different signature registry than the process-specific

* Add core ability to build compiled code caches

* Remove timing printouts

* Serialize/Deserialize memories to reduce copies

* Work more on api

* Relocate local functions relatively before external functions

* Fix incorrect definition in test

* merge errors caused by merge

* Fix emscripten compile

* Fix review comments
2019-02-06 16:26:45 -08:00
7bd609fd58 memory fixes for windows (#138) 2019-02-05 16:07:55 -08:00
98305c8731 Add new global import api 2019-01-28 11:55:44 -08:00
7632beced8 Add generic range bounds to mmap (#110) 2019-01-23 09:37:56 -08:00
74875ed554 Library restructure (#104)
* Move wasmer-runtime to wasmer-runtime-core

* Add the runtime library

* Fix issue with macros using wasmer_runtime, fmt

* Make default compiler dependency optional

* Add instantiate and validate functions
2019-01-22 11:02:06 -08:00