Jakub Konka
7791166859
Generate C fn name prefixed with __wasi_
6 years ago
Jakub Konka
e552b19dfe
Add placeholder for cbindgen proc_macro_attribute
6 years ago
Dan Gohman
eb1cf8b0a1
Make users of `dec_slice_of` safe.
Make `dec_slice_of` return a slice rather than a pointer-length pair,
freeing its users from having to call the unsafe `slice::from_raw_parts`.
This requires splitting `dec_slice_of` and `dec_ptr` into mut and
non-mut versions, and reorganizing poll_oneoff a little to avoid
borrow-checker errors -- decoded slices do alias the main memory, so
make sure functions only need one or the other.
6 years ago
Jakub Konka
8a68375f89
Move TODO about proc_exit from wasmtime
6 years ago
Jakub Konka
8b09f321ac
Make memory fns safe wherever possible
6 years ago
Dan Gohman
251504e8a7
Merge pull request #11 from CraneStation/docs
Clean up docs; specify minimum Rust version
6 years ago
Jakub Konka
66559e5702
Cleanup docs; specify minimum Rust version
6 years ago
Dan Gohman
a200b2133e
Merge pull request #10 from CraneStation/api
Add experimental struct with views into memory and ctx
6 years ago
Jakub Konka
75ad92b0f3
Insulate API from intricacies of memory mgmt of calling runtimes
6 years ago
Jakub Konka
751a1a1f7b
Add experimental struct with views memory and ctxs
This struct is heavily taking from Lucet's Vmctx struct.
6 years ago
Jakub Konka
328b8f3d91
Merge pull request #8 from afinch7/gitignore
add .gitignore
6 years ago
Jakub Konka
6b3b3d818b
Merge branch 'master' into gitignore
6 years ago
andy finch
1a478e8eff
remove rustfmt file from .gitignore
6 years ago
andy finch
3001a8b078
updated .gitignore to be compatible with cargo defaults
6 years ago
Dan Gohman
15ad680e58
Merge pull request #9 from CraneStation/code-conduct
Add contributing guide and code of conduct
6 years ago
Jakub Konka
696525cf58
Add contributing guide and code of conduct
6 years ago
afinch7
2c681f3130
add .gitignore
6 years ago
Dan Gohman
574b885656
Merge pull request #7 from CraneStation/missing-hostcalls
Add stubs for unimplemented hostcalls
6 years ago
Jakub Konka
8090f8791f
Add stubs for unimplemented hostcalls
6 years ago
Dan Gohman
c6db9f3dff
Merge pull request #6 from kubkon/dev-ops
Set up CI, add format and test scripts.
6 years ago
Jakub Konka
19a4f00752
Set up CI, add format and test scripts.
Remove unused Cargo dependencies.
6 years ago
Jakub Konka
56824194b2
Merge pull request #5 from kubkon/comment
Update a comment to refer to WASI.
6 years ago
Dan Gohman
5e702fa001
Update a comment to refer to WASI.
6 years ago
Dan Gohman
aaed8c409a
Merge pull request #4 from kubkon/port-wasi-types
Port WASI host types
6 years ago
Jakub Konka
2587fa0145
Port WASI host types
6 years ago
Dan Gohman
eb58f27bd5
Merge pull request #3 from kubkon/add-git-revision
Add git revision to track against lucet-wasi
6 years ago
Dan Gohman
8335484870
Update wasm32.rs to name the union fields.
The upstream wasi/core.h header switched from anonymous unions to unions
named `u`. This patch updates wasm32.rs to reflect this, as was done in
wasmtime 5b77f952
.
6 years ago
Dan Gohman
7cb78efac4
Eliminate whitespace diffs with upstream LICENSE files.
6 years ago
Jakub Konka
b784ae875e
Add git revision to track against lucet-wasi
6 years ago
Jakub Konka
ce6f9cb165
Changes to compile in lucet
6 years ago
Jakub Konka
cd39c1dfd8
Extract common interface from lucet-wasi
6 years ago