Mark McCaskey
|
5b67b2f3dc
|
Merge branch 'master' into feature/host-env-prototype
|
2020-10-27 16:24:00 -07:00 |
|
Nick Lewycky
|
126819eda6
|
Don't assume the serialized data came from engine-jit.
|
2020-10-26 12:32:08 -07:00 |
|
Ivan Enderlin
|
38c57e138f
|
test(c-api) Enable the wasm-c-api-start test.
|
2020-10-26 15:27:20 +01:00 |
|
Mark McCaskey
|
46204d6357
|
Fix up more tests
|
2020-10-21 12:00:30 -07:00 |
|
Ivan Enderlin
|
d7d40e542f
|
Merge branch 'master' into feat-c-api-update-wasm-h
|
2020-10-16 10:18:46 +02:00 |
|
Mark McCaskey
|
e3ec9f34c1
|
Prevent panic when min > static bound and max is less than it
|
2020-10-13 14:39:25 -07:00 |
|
Ivan Enderlin
|
0b4ef7add7
|
test(c-api) Don't pass NULL for zero args/results to wasm_func_call!
We must pass an empty array.
|
2020-10-12 13:34:20 +02:00 |
|
Ivan Enderlin
|
4186d1ce58
|
test(c-api) Use wasm_extern_vec_t for wasm_get_imports.
|
2020-10-12 13:33:46 +02:00 |
|
Ivan Enderlin
|
5bf90558c7
|
test(c-api) Fix the early-exit test.
|
2020-10-12 13:17:40 +02:00 |
|
Ivan Enderlin
|
18729709bf
|
feat(c-api) Update wasm-c-api repository.
This change is important because `wasm.h` contains new functions, like
`wasm_name_new_from_string_nt`, which are useful for the Go
implementation.
|
2020-10-09 14:37:07 +02:00 |
|
Mark McCaskey
|
f7d5a11b39
|
Fix sentinel value in wasm_limits_t for memory in wasm_c_api
|
2020-10-07 16:38:23 -07:00 |
|
Ivan Enderlin
|
c3efc06e87
|
test(c-api) Add test case for wat2wasm.
|
2020-10-06 20:56:36 +02:00 |
|
Mark McCaskey
|
ab153fc642
|
Improve error messages around memory creation
|
2020-10-05 15:45:52 -07:00 |
|
Mark McCaskey
|
3845e5fd67
|
Clean up binary files from C API refactor
|
2020-10-02 15:30:13 -07:00 |
|
Ivan Enderlin
|
92ca7899f5
|
chore(c-api) Use canonical path to wasm*.h headers.
|
2020-10-02 11:15:37 +02:00 |
|
Ivan Enderlin
|
1a45756cad
|
test(c-api) Use the REQUIRED option of find_library.
|
2020-10-02 09:45:34 +02:00 |
|
Ivan Enderlin
|
d5fa525612
|
test(c-api) Enable the test-early-exit test case.
|
2020-10-01 23:23:41 +02:00 |
|
Ivan Enderlin
|
ddbbd96f1c
|
test(c-api) Run make clean before, in case of.
|
2020-10-01 23:23:23 +02:00 |
|
Ivan Enderlin
|
68d6292c35
|
test(c-api) Restore the test-wasi and disable the test-early-exit.
|
2020-10-01 21:40:02 +02:00 |
|
Ivan Enderlin
|
5d9fc86bb8
|
test(c-api) Enable the wasi-c-api-trap test case.
|
2020-10-01 21:27:18 +02:00 |
|
Ivan Enderlin
|
bf7b50a8eb
|
test(c-api) Restore the wasm-c-api test suite.
|
2020-10-01 14:13:02 +02:00 |
|
Ivan Enderlin
|
3f8d7f4f74
|
test(c-api) Update the CMake project name for the deprecated test suite.
|
2020-10-01 10:11:02 +02:00 |
|
Ivan Enderlin
|
c1fb4b2c29
|
test(c-api) Restore the deprecated test suite.
|
2020-10-01 10:07:35 +02:00 |
|
Ivan Enderlin
|
ecfa22867e
|
test(c-api) Improve test outputs.
|
2020-09-28 17:17:25 +02:00 |
|
Ivan Enderlin
|
ffd1e6eddf
|
test(c-api) Split the test suites (deprecated and wasm-c-api).
|
2020-09-28 17:09:44 +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 |
|
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
|
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
|
b57a28edc7
|
Removed Memory plans in favor of direct styles
|
2020-07-07 16:50:08 -07:00 |
|
Syrus
|
b57bbb1256
|
Added traps tests
|
2020-06-08 19:13:13 -07:00 |
|
Syrus
|
fb51aeee83
|
Fixed c-api tests
|
2020-06-04 21:22:36 -07:00 |
|
Mark McCaskey
|
e9c7f3f759
|
Get reflection test in Wasm C API passing
|
2020-06-02 15:29:22 -07:00 |
|
Mark McCaskey
|
6246dd5ea2
|
Implement extern types in Wasm C API
|
2020-06-01 17:32:20 -07:00 |
|
Mark McCaskey
|
e45a5b5af9
|
Add Tables to C API; clean up
|
2020-05-29 17:14:17 -07:00 |
|
Mark McCaskey
|
c43d7c3818
|
Clean up and get all previously-working C API tests working
|
2020-05-29 13:39:31 -07:00 |
|
Mark McCaskey
|
342b2cf927
|
Get Wasm C API Hello World working
|
2020-05-29 13:39:24 -07:00 |
|
Mark McCaskey
|
a321f73988
|
Get 2 C API tests using ImportObject::extend working
|
2020-05-20 16:35:26 -07:00 |
|
Mark McCaskey
|
6b617895b0
|
Add resolver chaining and recursive resolving
|
2020-05-20 14:49:30 -07:00 |
|
Mark McCaskey
|
214b6fe878
|
Remove debugging code
|
2020-05-18 16:33:09 -07:00 |
|
Mark McCaskey
|
3f0871dbe7
|
Get test-context test working
|
2020-05-18 16:33:09 -07:00 |
|