Commit Graph

92 Commits

Author SHA1 Message Date
Felix Schütt
6b800783a2 Try debugging directory file paths with exa on failure 2022-09-19 10:19:28 +02:00
Felix Schütt
399510190c Trigger CI again 2022-09-18 23:44:26 +02:00
Felix Schütt
906d9338cc List directory if cc fails 2022-09-16 17:49:05 +02:00
Felix Schütt
dd7e9b2107 Add wasmer root dir as include directory 2022-09-16 17:42:16 +02:00
Felix Schütt
582ce847e5 Try to fix windows build again 2022-09-16 15:34:47 +02:00
Felix Schütt
dd1c7478ef Add root_dir to include paths 2022-09-16 13:13:19 +02:00
Felix Schütt
ff52789f72 Fix issue with wasmer dir not set correctly 2022-09-16 12:24:47 +02:00
Felix Schütt
e4d3194f18 cargo fmt 2022-09-16 12:03:16 +02:00
Felix Schütt
a99a67314c Split CLI arguments with whitespace 2022-09-16 11:46:41 +02:00
Felix Schütt
a68b8fb4b7 Set working dir on both windows and linux 2022-09-15 22:47:51 +02:00
Felix Schütt
dd5a5cc807 Debug /include directory and don't emit empty ldflags 2022-09-15 21:47:59 +02:00
Felix Schütt
ec58b61b66 Use "make package-capi" instead of "make package" 2022-09-15 18:48:48 +02:00
Felix Schütt
18006009aa Add more debugging to failing "make package" command 2022-09-15 18:23:25 +02:00
Felix Schütt
0408922079 cargo fmt 2022-09-15 17:17:29 +02:00
Felix Schütt
d70f03ae27 Run "make package" in test code if the include dirs don't exist 2022-09-15 17:16:20 +02:00
Felix Schütt
d267966db3 Add better debugging to wasmer-capi runner 2022-09-15 15:43:03 +02:00
Felix Schütt
abfb861072 cargo fmt 2022-09-15 14:48:58 +02:00
Felix Schütt
219d0c0278 Use gcc instead of cc, fix wasmer/lib/c-api in wasmer_base_dir string 2022-09-15 14:46:41 +02:00
Felix Schütt
4f9b9a82cd Fix include paths on linux CC 2022-09-15 14:05:37 +02:00
Felix Schütt
4a7e3d0d9b Added proper resolving of WASMER_DIR 2022-09-15 13:55:34 +02:00
Felix Schütt
97e5ffe264 cargo fmt 2022-09-15 13:16:06 +02:00
Felix Schütt
c59ca2c3e5 Add symlink resolving to testing crates 2022-09-15 13:10:30 +02:00
Felix Schütt
837f3ec0fe Add wasmer-capi-example-runner 2022-09-15 12:03:43 +02:00
Felix Schütt
7441fade9c Final fixes for make test-capi on windows-msvc
- .wasm files should always be opened in "rb" mode
- open_memstream doesn't exist on Windows, use tempfile() instead
- remove .obj and .exe files when the test finish
2022-09-14 22:31:19 +02:00
Syrus Akbary
a419ccdf52 Move Webassembly objects to Store and remove Context
Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
Co-authored-by: Manos Pitsidianakis <manos@wasmer.io>
2022-07-19 15:31:51 +03:00
Manos Pitsidianakis
eed0327101 Update c-api examples to Context API 2022-07-19 15:31:51 +03:00
Johnathan Sharratt
b0709e4153 Implemented multithreading and fixed a number of bugs with WASIX 2022-06-15 19:26:57 +03:00
Amanieu d'Antras
724c59c751 More bug fixes 2021-11-17 00:03:28 +00:00
Amanieu d'Antras
cff3e18a34 Fix memory leaks in C API examples 2021-11-15 17:01:28 +00:00
Felipe Gasper
4255387f49 Rename wasm_instance_new()’s “traps” argument to “trap”.
Issue #2472
2021-07-17 22:12:04 -04:00
Syrus Akbary
b520a5f58a Renamed wasmer_wasm.h to wasmer.h 2021-06-01 21:47:37 -07:00
Syrus Akbary
71176cca7a Unified C API tests 2021-05-15 09:15:50 -07:00
Mark McCaskey
bc8cb68d84 Update examples to not free things cast from extern 2021-03-30 08:47:18 -07:00
Mark McCaskey
1a56ff2cc8 Fix wat and exports memory leak in all examples 2021-03-18 08:16:17 -07:00
Mark McCaskey
b09b85ada5 Update memory Wasm C API example 2021-03-18 07:51:34 -07:00
Ivan Enderlin
6e50e24643 test(c-api) Add the features example. 2021-03-02 14:48:02 +01:00
Syrus Akbary
79fb698c15 Remove dependency on cmake 2020-12-04 13:39:44 -08:00
Syrus Akbary
e32458335c Fix capi tests for examples 2020-12-04 11:22:33 -08:00
jubianchi
98a283f327 chore: Add a target to test all the C examples 2020-12-04 18:57:10 +01:00
Syrus
39af046c04 Added make all command to c api examples 2020-12-04 03:18:58 -08:00
Syrus
4df7722f25 Fixed the c examples using the new api for wat2wasm 2020-12-04 03:15:44 -08:00
jubianchi
729f402fdb chore: Add C examples 2020-12-04 09:10:35 +01:00