Mark McCaskey
ce5f302f9a
Merge branch 'master' into feature/engine-object-file
2020-09-29 17:48:38 -07:00
bors[bot]
d9246398b9
Merge #1657
...
1657: Add early exit example r=MarkMcCaskey a=MarkMcCaskey
Resolves #1597
This PR currently contains the example in both C and Rust
# Review
- [x] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Mark McCaskey <mark@wasmer.io >
2020-09-29 23:42:43 +00:00
Mark McCaskey
ffe1c5a9e4
Address feedback, clean up wasm_T_vec_t conversions
2020-09-29 16:41:30 -07:00
Mark McCaskey
1ed1a52d25
Get early exit example working with C API; implement wasm_trap_t API
2020-09-29 14:13:30 -07:00
Nick Lewycky
00741f02cb
Remove extern "C" from a non-pub function that returns non-FFI'able type.
...
Add `extern "C"` to two `#[no_mangle] pub` functions.
2020-09-29 11:04:54 -07:00
Mark McCaskey
374cd36ec2
Add early exit Wasm C API example (wip)
2020-09-29 10:56:02 -07:00
Mark McCaskey
bdbbe7ed2f
Add config support to wasm-c-api
2020-09-28 15:06:00 -07:00
Mark McCaskey
e23ff69594
Merge branch 'master' into feature/engine-object-file
2020-09-25 11:07:25 -07:00
Mark McCaskey
c29a259679
Add rlib as a crate-type for wasmer-c-api
...
This is how `wasmer-runtime-c-api` was before and seems to fix a use
case that users relied on
2020-09-24 12:00:58 -07:00
bors[bot]
e88a341074
Merge #1639
...
1639: feat(c-api) Implement `wasm_importtype_delete` r=MarkMcCaskey a=Hywan
This PR implements `wasm_importtype_delete`. Thoughts @MarkMcCaskey?
Co-authored-by: Ivan Enderlin <ivan@mnt.io >
2020-09-21 22:07:49 +00:00
Ivan Enderlin
dfd50ee6ec
feat(c-api) Implement wasm_importtype_delete.
2020-09-21 15:20:26 +02:00
Ivan Enderlin
da69eca99b
test(c-api) Update CMake to match all Wasm C API examples.
2020-09-18 10:11:09 +02:00
Mark McCaskey
ead9532004
Prepare for 1.0.0-alpha3 release
2020-09-14 13:12:56 -07:00
Syrus
2cd12213fb
Standardize Cargo files of all crates
2020-09-13 22:11:16 +03:00
Mark McCaskey
1ee2ba30a2
Prepare for 1.0.0-alpha02.0 release
2020-09-11 14:40:25 -07:00
Jihyun Yu
3361c21ccc
wasmer_instance_call: allow null params
...
allow null params if params_len is zero
2020-09-09 01:30:01 +09:00
Mark McCaskey
2a366e7de9
Clean up
2020-08-28 14:56:49 -07:00
Mark McCaskey
485cc1dc7e
Fix things up, get things working
2020-08-28 14:54:20 -07:00
Mark McCaskey
28aead6a50
Add engine object-file (WIP)
2020-08-26 13:49:47 -07:00
Mark McCaskey
e06ca4ffd2
Prepare for 1.0.0-alpha01.0 release
...
This is the first alpha release of `1.0.0`: expect breaking changes.
The version suffix `alpha01.0` was chosen so that we can ship updates
that automatically update with the latter number and can prevent
auto-updates by incrementing the former number (which is not actually
a number as far as semver is concerned).
Also because crates.io sorts versions lexicographically, it will
display the wrong readme if we get to alpha10, so we pad with an extra
0 just in case we need more than 9 releases of alpha.
2020-08-14 16:08:44 -07:00
Mark McCaskey
6e974b92cd
Run cargo fmt
2020-08-13 18:12:43 -07:00
Mark McCaskey
5049c543dc
Rename wasm-common crate to wasmer-types
2020-08-13 17:59:26 -07:00
Nick Lewycky
fadd5d6699
Remove nearly-all mentions of reborn.
2020-08-13 11:32:14 -07:00
Mark McCaskey
8a9ac6ce59
Add helper function to get the start function
2020-08-12 18:03:57 -07:00
Mark McCaskey
cba35df3f1
Use wasi_env_set_instance instead of wasi_env_set_memory
2020-08-12 17:32:28 -07:00
Mark McCaskey
892fb4efcf
Make caller responsible for allocation array for getting WASI imports
2020-08-12 17:08:58 -07:00
Mark McCaskey
2e36c8e63b
Clean up and simplify API: explicit version no longer required
2020-08-12 13:09:58 -07:00
Mark McCaskey
5915cd9d3f
Use circular buffer for stdout capture to reduce memory usage
2020-08-12 09:40:44 -07:00
Mark McCaskey
747cdd424a
Try replacing wasi_state_builder_t with wasi_config_t
...
Experimenting to simplify our API.
2020-08-12 09:23:56 -07:00
Mark McCaskey
f4a2b46ace
More small changes from feedback
2020-08-11 16:49:51 -07:00
Mark McCaskey
c52678aba4
Clean up from feedback
2020-08-11 16:31:02 -07:00
Mark McCaskey
7ae9132789
Fix initializer error on Linux for real this time
2020-08-11 14:55:05 -07:00
Mark McCaskey
0633fa5650
Fix initialization error on Linux
2020-08-11 13:35:06 -07:00
Mark McCaskey
3919e435c4
Clean up WASI 'Wasm C API' API
2020-08-11 13:08:33 -07:00
Mark McCaskey
1211874f4a
Implement WASI for the Wasm C API
2020-08-10 15:53:40 -07:00
Syrus
48493bcb52
Fix libc requirement. Fix #207
2020-08-03 12:28:25 -07:00
Syrus
48dd090da6
Updated build links
2020-07-29 17:30:15 -07:00
Syrus
a732159514
Use better naming for module functions
2020-07-26 12:02:45 -07:00
Syrus
e827d5c099
Improved READMEs
2020-07-24 15:38:10 -07:00
Syrus
79034f069d
Improve crate readmes
2020-07-24 15:33:12 -07:00
Syrus
b06f021612
Improved Function API
2020-07-21 20:02:01 -07:00
Syrus
1841b7438e
Removed unused code from ImportObject
2020-07-21 13:48:23 -07:00
Syrus
905760a7b9
Moved OrderedResolver to the Wasmer C API
2020-07-07 21:46:06 -07:00
Syrus
92f8651312
Renamed wasmer_runtime to wasmer_vm
2020-07-07 21:26:06 -07:00
Syrus Akbary
181c5693af
Merge pull request #147 from wasmerio/style-refactor
...
Style refactor
2020-07-07 18:33:26 -07:00
Syrus Akbary
bf4bd44d7f
Update README.md
2020-07-07 17:48:10 -07:00
Syrus
b57a28edc7
Removed Memory plans in favor of direct styles
2020-07-07 16:50:08 -07:00
Syrus Akbary
4ed23c59aa
Merge pull request #117 from wasmerio/feature/shared-delayed-memory-initialization
...
Implement shared, delayed WASI memory initialization
2020-06-22 14:05:30 -07:00
Syrus
e604d6db49
Fixed linting
2020-06-18 13:08:52 -07:00
Syrus
422051ebe5
Simplified compiler config names
2020-06-18 01:36:25 -07:00