Commit Graph

155 Commits

Author SHA1 Message Date
Mark McCaskey
6b617895b0 Add resolver chaining and recursive resolving 2020-05-20 14:49:30 -07:00
Syrus
b97fad460d Added NamedResolver. Make ImportObject inherit from it 2020-05-20 12:26:21 -07:00
Syrus
1cc32b7a73 Make dynamic functions work again 2020-05-19 22:03:28 -07:00
Syrus
44723e2773 Imported functions only receive one context 2020-05-19 21:19:40 -07:00
Syrus
5dbe419a3f Fixed linting 2020-05-19 19:06:18 -07:00
Syrus
37d00ac338 Renamed CompiledModule to Artifact 2020-05-19 18:56:25 -07:00
Syrus
09e057338a Renamed Module to ModuleInfo 2020-05-19 18:47:50 -07:00
Syrus
ae8dcfcb27 Make PIC optional for compilers 2020-05-19 16:56:56 -07:00
Syrus
d2526adc15 Merge branch 'master' into native-engine
# Conflicts:
#	Cargo.lock
2020-05-19 13:45:54 -07:00
Mark McCaskey
9d28bd8c62 Merge pull request #25 from wasmerio/feature/c-api-dynfunc
Feature/c api dynfunc
2020-05-19 13:21:00 -07:00
Syrus Akbary
45a83b3239 Update README.md 2020-05-18 20:12:22 -07:00
Syrus
7b85c5d4a6 Added native engine feature to wasmer api 2020-05-18 17:49:20 -07:00
Syrus
88b4533832 Merge branch 'master' into native-engine
# Conflicts:
#	Cargo.lock
#	lib/api/src/externals.rs
#	lib/compiler/src/relocation.rs
#	lib/engine-jit/src/link.rs
#	lib/engine/src/engine.rs
2020-05-18 17:26:49 -07:00
Mark McCaskey
4d5367c283 Fix rebase mistakes or something 2020-05-18 16:38:36 -07:00
Mark McCaskey
4366594535 Get test-import test passing 2020-05-18 16:33:08 -07:00
Mark McCaskey
d6b5f99a22 Fix more C API tests 2020-05-18 16:33:08 -07:00
Mark McCaskey
7e9eb14432 Reverse trampoline static generation now works! 🎉 2020-05-18 16:30:43 -07:00
Mark McCaskey
88ecb8df25 Make host trampolines work (PoC) 2020-05-18 16:26:55 -07:00
Syrus
1cee1983a0 Added extra comments 2020-05-18 12:50:15 -07:00
Syrus
b3f7a6bced Simplified function definition 2020-05-18 12:40:25 -07:00
Syrus
10dd61b25c Improved code lint 2020-05-18 12:34:41 -07:00
Syrus Akbary
77a49dc466 Update lib/api/src/externals.rs
Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-05-18 12:29:15 -07:00
Syrus Akbary
312719f609 Update lib/api/src/externals.rs
Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-05-18 12:28:50 -07:00
Syrus Akbary
ae45ce8d89 Update lib/api/src/externals.rs
Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-05-18 12:27:30 -07:00
Syrus Akbary
b0ded4b0b6 Update lib/api/src/externals.rs
Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-05-18 12:26:42 -07:00
Syrus Akbary
8da105cf29 Update lib/api/src/externals.rs
Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-05-18 12:26:25 -07:00
Syrus Akbary
675d7129a3 Update lib/api/src/externals.rs
Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-05-18 12:25:33 -07:00
Syrus
47214aa3b2 Improved engine trampoline naming 2020-05-17 20:49:19 -07:00
Syrus
2a79d4fd87 Merge branch 'master' into host-trampolines 2020-05-17 18:25:15 -07:00
Syrus
0d4713522a Revert "Added dynamic_address to the imported and exported functions"
This reverts commit 33cd21b3d8.

# Conflicts:
#	lib/engine/src/resolver.rs
2020-05-17 18:24:53 -07:00
Syrus
2bbceeb239 Moved DynamicFunctionImportContext abstraction into runtime 2020-05-16 03:10:24 -07:00
Syrus
2a39edc399 Make Exports::contains non-mutable 2020-05-16 00:28:42 -07:00
Syrus
5f8f7a5dc1 Merge branch 'master' into host-trampolines 2020-05-15 20:07:40 -07:00
Syrus
d2dfa31829 Added support for dynamic funcitons with environment 2020-05-15 19:44:34 -07:00
Syrus
f38720337f Reverse trampoline static generation now works! 🎉 2020-05-14 19:28:36 -07:00
Syrus
33cd21b3d8 Added dynamic_address to the imported and exported functions 2020-05-14 19:08:52 -07:00
Syrus
e9b0aafb34 Improved dynamic returns with typechecking and better signature 2020-05-14 11:42:13 -07:00
Syrus
0a42c83ed1 Allow cast ptr alignment 2020-05-14 11:17:38 -07:00
Syrus
a419e67cbb Make clippy happy 2020-05-14 11:07:06 -07:00
Syrus
1c21e4f927 Make host trampolines work (PoC) 2020-05-13 20:53:54 -07:00
Mark McCaskey
09efdfea73 Fix clippy warnings, apply 2020-05-13 17:21:52 -07:00
Mark McCaskey
9c0dae7ad7 Add clippy lint and clean up 2020-05-13 14:17:20 -07:00
Mark McCaskey
388c9d63a3 Fix more warnings, address feedback 2020-05-13 13:02:19 -07:00
Mark McCaskey
e77cbd8b94 Deny many warnings in CI; fix warnings 2020-05-13 12:44:34 -07:00
Mark McCaskey
e01588ef55 Merge pull request #18 from wasmerio/fix/memory-not-growing
Debug memory not growing bug
2020-05-13 11:25:31 -07:00
Syrus
3a991a7f59 Upgrade libc to 0.2.70. Removedd unnecessary trap shims 2020-05-12 17:43:43 -07:00
Mark McCaskey
02efe20d09 Clean up from feedback 2020-05-12 17:17:17 -07:00
Mark McCaskey
61309d4a40 Add explicit error type for operations on Memory 2020-05-12 14:39:16 -07:00
Syrus
9c60c23b98 Fixd memory API 2020-05-12 12:39:54 -07:00
Syrus
598d90b746 Improved code based on comments 2020-05-11 09:55:24 -07:00