Commit Graph

206 Commits

Author SHA1 Message Date
f91f9ae79b cargo fmt 2022-09-23 15:06:15 +02:00
9f32fcffb8 Add -Wl,rpath argument for macos 2022-09-23 14:50:17 +02:00
dc54c608d0 Add /include directory to c-api/tests 2022-09-23 14:22:48 +02:00
aea817fb47 Manually force copying wasm.h when testing 2022-09-22 18:21:28 +02:00
e7b41f87f2 Fix Windows build in VM: 2022-09-22 17:07:44 +02:00
114e8177e6 Try fixing wrong include paths on Windows 2022-09-22 13:25:09 +02:00
9a3f852652 Use trailing slashes for include and link dirs 2022-09-22 10:59:12 +02:00
4f5699216e Fixed -L and -I options to contain a space 2022-09-22 10:25:22 +02:00
048202b68b Fix LD_PRELOAD on Linux, exit with 0 instead of 1 2022-09-22 09:48:56 +02:00
40ed77cf69 Fix typo 2022-09-19 16:28:18 +02:00
f8a28e2653 Debug panicking command on Linux 2022-09-19 15:59:14 +02:00
d7bb0ae982 Try to fix wrong include path on Windows MSVC 2022-09-19 15:57:33 +02:00
64e45ce1dd Debug file system paths without exa 2022-09-19 14:31:54 +02:00
463575b4c4 Invoke exa via Rust since it doesn't seem to be working with Makefiles 2022-09-19 13:40:11 +02:00
6b800783a2 Try debugging directory file paths with exa on failure 2022-09-19 10:19:28 +02:00
2ed90eabf6 Add tmate properly and change include path order 2022-09-16 20:22:30 +02:00
906d9338cc List directory if cc fails 2022-09-16 17:49:05 +02:00
dd7e9b2107 Add wasmer root dir as include directory 2022-09-16 17:42:16 +02:00
582ce847e5 Try to fix windows build again 2022-09-16 15:34:47 +02:00
dd1c7478ef Add root_dir to include paths 2022-09-16 13:13:19 +02:00
ff52789f72 Fix issue with wasmer dir not set correctly 2022-09-16 12:24:47 +02:00
e4d3194f18 cargo fmt 2022-09-16 12:03:16 +02:00
a99a67314c Split CLI arguments with whitespace 2022-09-16 11:46:41 +02:00
a68b8fb4b7 Set working dir on both windows and linux 2022-09-15 22:47:51 +02:00
dd5a5cc807 Debug /include directory and don't emit empty ldflags 2022-09-15 21:47:59 +02:00
ec58b61b66 Use "make package-capi" instead of "make package" 2022-09-15 18:48:48 +02:00
18006009aa Add more debugging to failing "make package" command 2022-09-15 18:23:25 +02:00
0408922079 cargo fmt 2022-09-15 17:17:29 +02:00
d70f03ae27 Run "make package" in test code if the include dirs don't exist 2022-09-15 17:16:20 +02:00
d267966db3 Add better debugging to wasmer-capi runner 2022-09-15 15:43:03 +02:00
abfb861072 cargo fmt 2022-09-15 14:48:58 +02:00
219d0c0278 Use gcc instead of cc, fix wasmer/lib/c-api in wasmer_base_dir string 2022-09-15 14:46:41 +02:00
4f9b9a82cd Fix include paths on linux CC 2022-09-15 14:05:37 +02:00
4a7e3d0d9b Added proper resolving of WASMER_DIR 2022-09-15 13:55:34 +02:00
97e5ffe264 cargo fmt 2022-09-15 13:16:06 +02:00
c59ca2c3e5 Add symlink resolving to testing crates 2022-09-15 13:10:30 +02:00
ada5810b25 Fix various compilation errors on windows 2022-09-15 11:47:20 +02:00
94baa50bbf cargo fmt 2022-09-15 11:38:13 +02:00
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
fd390f6160 Fix first Makefile completely on Windows 2022-09-14 15:55:41 +02:00
05af38c9a5 Port first Makefile to Rust + add MSVC flags 2022-09-14 13:11:48 +02:00
328a98edec Fixup Makefile-based tests to be Rust-based instead 2022-09-13 21:34:02 +02:00
59eb5f177e Fixed compilation on Windows MSVC (first 20 tests) 2022-09-13 18:58:29 +02:00
8da2fdb6a5 Fix Windows build with local dependency 2022-09-13 18:13:54 +02:00
d840b5c5f6 Fix unit test with proper compiled .wasm file 2022-09-07 18:41:06 +02:00
759b2f6198 Add (non-working) unit test 2022-08-05 12:35:31 +02:00
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
eed0327101 Update c-api examples to Context API 2022-07-19 15:31:51 +03:00
34a6511e16 Port C API to new Context API 2022-07-19 15:31:51 +03:00
e9d54e130c Remove engine-dylib 2022-06-16 16:57:45 +03:00