Commit Graph

95 Commits

Author SHA1 Message Date
aad390d09d Deny missing docs in runtime core and add missing docs 2019-11-10 13:13:18 -06:00
4b3880c88b add details when calling unimplemented! 2019-10-03 11:26:54 +02:00
1e637badc4 Merge remote-tracking branch 'origin/master' into feature/make-instance-send 2019-09-23 11:05:00 -07:00
ccd369ff0c Add example, rename Ctx fn, make things pub(crate), misc changes 2019-09-18 16:43:47 -07:00
5741a2cf70 Implement function lookups using the table 2019-09-18 16:06:46 -07:00
9c205e05a2 Add comments explaining the unsafe impls and simplify the code, too 2019-09-17 18:35:12 -07:00
83c3909b00 Implement it for memory and make Instance Send 2019-09-17 14:58:26 -07:00
9e9343878d Implement Send for everything except Memory 2019-09-17 11:45:13 -07:00
b35a522d28 Add method to call function at index on Ctx 2019-09-16 15:01:18 -07:00
172ef77ddd Use the static intrinsics for static shared memory too. 2019-08-19 17:26:35 -07:00
5a41686192 Fix bare_trait_objects warnings 2019-08-08 16:46:52 -06:00
052ad1381d Use ordered IndexMap for exports in runtime-core 2019-08-01 01:27:21 -07:00
0dfa1f68a8 Formatted code 2019-07-31 23:51:12 -07:00
a6461c3b14 Removed explicit hashbrown dependency 2019-07-31 23:18:38 -07:00
624f3459ab Merge branch 'master' into simd 2019-07-24 14:44:52 -07:00
c3ced14e46 Merge branch 'master' into ctx-drop-finalizer 2019-07-22 14:13:11 +03:00
fc935710c7 Merge branch 'master' of github.com:wasmerio/wasmer into simd 2019-07-19 15:37:36 -07:00
ea93b68165 Bump size of global up to 128 bits.
Fixes last spec test failure from the WAVM SIMD spec test.
2019-07-18 13:39:41 -07:00
3f3bf38d94 Fix typo in comment.
"Then thou must count to three. Three shall be the number of the counting and the number of the counting shall be three. Four shalt thou not count, neither shalt thou count two, excepting that thou then proceedeth to three."
2019-07-18 11:24:25 -07:00
42780042ef Fix typo in comment. 2019-07-15 10:55:26 -07:00
ad10152982 * vm.rs - calling Ctx data_finalizer upon destruction 2019-07-15 15:14:09 +03:00
5c5ecfff7d Rename alternative_stack to fault. 2019-07-04 01:27:19 +08:00
967027003d Full preemptive snapshot/resume. 2019-06-27 15:49:43 +08:00
0937e53801 Fully persist program state. 2019-06-26 01:38:39 +08:00
c6cd49a370 Support getting/setting metering points and internal fields with a Ctx. 2019-06-06 14:10:57 +08:00
c020c39193 Move get/set points used to middleware 2019-06-02 13:21:00 -05:00
e533a8a7b5 Add tests for metering, add option to compiler config 2019-06-02 11:37:02 -05:00
dcf52ef1a7 Cargo fmt 2019-05-23 20:10:34 +08:00
cf58305889 Dynamically allocate internal fields. 2019-05-23 20:10:17 +08:00
6aec1c4b5f Use INTERNALS_SIZE 2019-05-17 01:33:33 +08:00
8e0d71b2bc Fix missing internals in test. 2019-05-17 01:32:41 +08:00
6aa87a0bbf Add the internals field and necessary structures for metering. 2019-05-17 01:10:21 +08:00
ee09209bfb Fix clippy error. 2019-05-14 16:59:18 +08:00
32f9aee6fe Cargo fmt 2019-05-14 16:04:08 +08:00
db9705f00c Merge remote-tracking branch 'origin/master' into feature/remote-code-load 2019-05-14 15:46:15 +08:00
8218e550fc Improved docs and fixed few typos 2019-05-13 11:18:57 -07:00
5a6cb96714 Merge branch 'master' into docs/better-runtime-docs
# Conflicts:
#	lib/runtime-core/src/vm.rs
2019-05-13 11:08:00 -07:00
af1ac9af96 Improve performance of memory access. 2019-05-13 05:11:08 -07:00
61510f8116 Enforce runtime memory and stack bound check when using kernel loader. 2019-05-06 07:15:30 -07:00
46e4cb05bc Get memory intrinsics at runtime. 2019-05-04 10:33:12 -07:00
a590d7cd07 Tables 2019-05-04 09:56:52 -07:00
2262c8a6da Finished middleware impl and made a CallTrace middleware 2019-04-27 16:31:47 +08:00
3b9e12b248 fix test 2019-04-19 14:02:21 -07:00
6279dd8e82 Fix test again, whoops 2019-04-18 10:14:25 -07:00
f0e0255b3f Fix vm test 2019-04-18 10:08:17 -07:00
4dd64ed72e Remove UserTrapper trait 2019-04-18 10:00:15 -07:00
d8c6f76846 Redesign the interface between the runtime and the backends.
This removes the ProtectedCaller and FuncResolver traits, simplifying call implementations and improving dynamic call throughput.
2019-04-11 18:01:54 -07:00
41129e445d Fix runtime test missing method 2019-04-09 16:15:50 -07:00
48b5918895 Merge branch 'master' into feature/wasi-fs 2019-03-29 11:09:04 -07:00
5c12fd0b49 fix test 2019-03-28 13:55:38 -07:00