Syrus
43534aebc8
Improved docs a bit more
2020-06-04 19:48:58 -07:00
Syrus
fc27d75909
Improved CI by building the package
2020-06-04 19:36:23 -07:00
Mark McCaskey
00058b8008
Fix doc conflict between bin and lib wasmer
2020-06-03 13:55:10 -07:00
Mark McCaskey
e9c7f3f759
Get reflection test in Wasm C API passing
2020-06-02 15:29:22 -07:00
Mark McCaskey
08a2810b4c
Rename extrn -> extern_ in Wasm C API
2020-06-02 13:20:50 -07:00
Mark McCaskey
384806e90f
Remove debug code
2020-06-02 13:12:55 -07:00
Mark McCaskey
79bc6b7f71
Fix UB bugs breaking Wasm C API callback example on Linux
2020-06-02 12:33:45 -07:00
Mark McCaskey
11c37c9ed1
Wasm C API: fill out some data transformation code
2020-06-02 10:44:33 -07:00
Mark McCaskey
6246dd5ea2
Implement extern types in Wasm C API
2020-06-01 17:32:20 -07:00
Mark McCaskey
ac9725e343
Remove outdated comment in Wasm C API
2020-05-29 17:26:27 -07:00
Mark McCaskey
d38618054e
Use c_try! macro in more places in Wasm C API
2020-05-29 17:17:41 -07:00
Mark McCaskey
e45a5b5af9
Add Tables to C API; clean up
2020-05-29 17:14:17 -07:00
Mark McCaskey
4d3b95d674
Clean up: use higher level types in the C API
...
Instead of manually dereffing pointers and transforming `Box` into
`NonNull`, just use the types directly. I previously wasn't aware that
this would work with FFI and more importantly thought that it would
cause a worse kind of undefined behavior, however upon further
reflection I've decided that that doesn't really make sense and we can
significantly reduce source code size and improve readability by using
these higher level types directly.
2020-05-29 15:05:20 -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
027e26c1b4
Add progress on porting Wasm C API
2020-05-29 13:35:07 -07:00
Mark McCaskey
3461795522
Add unedited wasm c api from branch on wasmer master
2020-05-29 13:33:57 -07:00
Syrus
17bca3cf8e
Use minor versions instead of patch
2020-05-27 17:42:47 -07:00
Mark McCaskey
62c3bd5a4b
Add really basic examples for chained resolvers
2020-05-20 17:42:20 -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
56094c0d81
Improve error messages from feedback
2020-05-18 16:50:55 -07:00
Mark McCaskey
9435b0cced
Add docs to CAPIInstance
2020-05-18 16:33:09 -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
Mark McCaskey
4366594535
Get test-import test passing
2020-05-18 16:33:08 -07:00
Mark McCaskey
d1541717ab
Add WIP debug code
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
11dad47dbb
Add WIP wasmer_import_func_new impl
2020-05-18 16:33:08 -07:00
Mark McCaskey
c3492764d4
Allow unused variables in the C API during transition
2020-05-13 13:24:28 -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
Mark McCaskey
9289235352
Adjust MemoryError from feedback
2020-05-13 11:10:19 -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
Mark McCaskey
a47fcc0dd1
Reenable memory test in C API; update Rust test
2020-05-12 11:07:05 -07:00
Mark McCaskey
94125613f6
Improve local var name readability
2020-05-11 13:42:56 -07:00
Mark McCaskey
07aa6b3ad9
Fix unsafe on instance destructor and return type of context_get
2020-05-11 13:34:05 -07:00
Mark McCaskey
66b6dc2615
Use higher level types in C API where possible
2020-05-11 13:18:07 -07:00
Mark McCaskey
ddd37eab89
Don't test the C API on Windows for now
2020-05-08 15:42:58 -07:00
Mark McCaskey
6f2d0f9b79
Ask CMake to make MinGW makefiles on Windows
2020-05-08 15:17:10 -07:00
Mark McCaskey
96b3dce382
Attempt to add C API testing to CI
2020-05-08 14:26:10 -07:00
Mark McCaskey
67d7ac0fb3
Address feedback on C-API review
2020-05-08 14:10:08 -07:00
Mark McCaskey
b834714364
Rename runtime-c-api -> c-api
2020-05-08 12:59:44 -07:00