Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Wasmer 1.0.0 alpha5 #187

Merged
merged 35 commits into from
Nov 25, 2020
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
81ef898
* updating crates
YaronWittenstein Nov 15, 2020
5d893ee
WIP: supporting runtime Host imports for SVM (for testing).
YaronWittenstein Nov 16, 2020
601feb3
WIP
YaronWittenstein Nov 16, 2020
6c3803f
svm-runtime: `Import` isn't `Clone` anymore.
YaronWittenstein Nov 16, 2020
652cfb4
`DefaultRuntime` refinements.
YaronWittenstein Nov 16, 2020
116a608
WIP
YaronWittenstein Nov 16, 2020
48a454b
WIP
YaronWittenstein Nov 16, 2020
69023b5
Each external import may have its own `host_env`
YaronWittenstein Nov 17, 2020
0ed6de5
c-api: tests contains assertions agains Receipt's returndata.
YaronWittenstein Nov 17, 2020
3703eec
Releasing allocated memory of `svm_env_t` after usage.
YaronWittenstein Nov 18, 2020
5ef8b38
Adding some documentation
YaronWittenstein Nov 18, 2020
ef1f98b
Some more documentation
YaronWittenstein Nov 18, 2020
8143033
Created a new crate named `svm-ffi` (moved code from `svm-runtime-c-a…
YaronWittenstein Nov 19, 2020
723ecd7
Removed the tests of `svm-sdk-macros` (obsolete code).
YaronWittenstein Nov 19, 2020
d52d829
Merge from master (svm-ffi)
YaronWittenstein Nov 19, 2020
4876b09
tests pass.
YaronWittenstein Nov 19, 2020
45ed698
`svm-runtime` is now independent of `wasmer-c-api`
YaronWittenstein Nov 19, 2020
139b8aa
WIP: making `svm-runtime-c-api` tests work against the recent changes.
YaronWittenstein Nov 19, 2020
cfa46af
tests pass.
YaronWittenstein Nov 19, 2020
2404be6
svm-runtime: zero-allocated host functions' `results` (and deallocate…
YaronWittenstein Nov 22, 2020
bfb56a8
Adding a doc-test for `svm_ffi::alloc_wasm_values`.
YaronWittenstein Nov 22, 2020
f1d5a82
Added a doc-test for `svm_byte_array#copy_wasm_values`
YaronWittenstein Nov 22, 2020
f0f503d
Adding 2 more doc-tests for `svm_byte_array#copy_wasm_values`.
YaronWittenstein Nov 22, 2020
74a1a60
WIP: trying to make cbindgen output of `svm-runtime-c-api` to include…
YaronWittenstein Nov 22, 2020
39bb260
`svm-ffi` generates an header file (`svm_types.h`) that is included b…
YaronWittenstein Nov 23, 2020
a3eba35
typo
YaronWittenstein Nov 23, 2020
72af45f
tests pass.
YaronWittenstein Nov 23, 2020
330bca2
import - wrapper callback allocates `results` using `svm_ffi::alloc_w…
YaronWittenstein Nov 23, 2020
0c8bd74
`Import` is using `Rc` for shallow-cloning of `returns` types.
YaronWittenstein Nov 23, 2020
2e0ffb4
changes for PR comments.
YaronWittenstein Nov 24, 2020
7e4459a
Adding allocation/deallocation functionalities for `svm_trap_t`.
YaronWittenstein Nov 24, 2020
e14d159
small fix.
YaronWittenstein Nov 24, 2020
fdef847
Removing `svm_trap_t`.
YaronWittenstein Nov 25, 2020
8a4bca0
Ready for review.
YaronWittenstein Nov 25, 2020
230c2a3
small change in a test.
YaronWittenstein Nov 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: ./svm-codec-ci.sh
- name: Prepare Artifacts
shell: bash
run: mkdir bins/ && for i in $(ls target/release/{libsvm_runtime_c_api.dylib,libsvm_runtime_c_api.so,svm_runtime_c_api.dll,svm.h}); do mv $i bins/; done
run: mkdir bins/ && for i in $(ls target/release/{libsvm_runtime_c_api.dylib,libsvm_runtime_c_api.so,svm_runtime_c_api.dll,svm.h,svm_types.h}); do mv $i bins/; done
- name: Upload Artifacts
uses: actions/upload-artifact@master
with:
Expand Down
Loading