Felix Schütt
2f61896e6d
Add integration test for running directory
2022-10-19 15:59:18 +02:00
Felix Schütt
58004395a3
Set examples-runner version correctly
2022-09-26 12:20:35 +02:00
Felix Schütt
449a77fb6b
cargo fmt
2022-09-26 10:22:56 +02:00
Felix Schütt
8e8c97bb63
WIndows: generate executables (segfaulting)
2022-09-23 19:16:03 +02:00
Felix Schütt
d0f432221b
Always run make build-capi
2022-09-23 15:51:24 +02:00
Felix Schütt
f91f9ae79b
cargo fmt
2022-09-23 15:06:15 +02:00
Felix Schütt
9f32fcffb8
Add -Wl,rpath argument for macos
2022-09-23 14:50:17 +02:00
Felix Schütt
aea817fb47
Manually force copying wasm.h when testing
2022-09-22 18:21:28 +02:00
Felix Schütt
e7b41f87f2
Fix Windows build in VM:
2022-09-22 17:07:44 +02:00
Felix Schütt
114e8177e6
Try fixing wrong include paths on Windows
2022-09-22 13:25:09 +02:00
Felix Schütt
4f5699216e
Fixed -L and -I options to contain a space
2022-09-22 10:25:22 +02:00
Felix Schütt
048202b68b
Fix LD_PRELOAD on Linux, exit with 0 instead of 1
2022-09-22 09:48:56 +02:00
Felix Schütt
f8a28e2653
Debug panicking command on Linux
2022-09-19 15:59:14 +02:00
Felix Schütt
d7bb0ae982
Try to fix wrong include path on Windows MSVC
2022-09-19 15:57:33 +02:00
Felix Schütt
64e45ce1dd
Debug file system paths without exa
2022-09-19 14:31:54 +02:00
Felix Schütt
463575b4c4
Invoke exa via Rust since it doesn't seem to be working with Makefiles
2022-09-19 13:40:11 +02:00
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