Commit Graph

1044 Commits

Author SHA1 Message Date
Felix Schütt
9a3f852652 Use trailing slashes for include and link dirs 2022-09-22 10:59:12 +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
40ed77cf69 Fix typo 2022-09-19 16:28:18 +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
72acbc8f93 cargo fmt 2022-09-19 12:28:27 +02:00
Felix Schütt
f21689d1e6 Added set_blocking method to control blocking behaviour for WasiPipe 2022-09-19 12:27:33 +02:00
Felix Schütt
0e53d2d19b Rename WasiPipePair -> WasiBidirectionalPipePair 2022-09-19 11:17:29 +02:00
Felix Schütt
1825e60b28 Rename inherit_stdout -> stdout 2022-09-19 11:06:59 +02:00
Felix Schütt
aa4b1d0684 Add bytes_available function 2022-09-19 11:03:07 +02:00
Felix Schütt
2484db9943 Address review comments to prevent leak with Arc::try_unwrap 2022-09-19 10:54:12 +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
2ed90eabf6 Add tmate properly and change include path order 2022-09-16 20:22:30 +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
7eb4d0fc7c cargo fmt 2022-09-16 00:03:13 +02:00
Felix Schütt
1895dd21bb Fix problem with wasmer-inline-c dependency 2022-09-15 23:59:03 +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
66bfb88d83 cargo fmt 2022-09-15 12:06:06 +02:00
Felix Schütt
837f3ec0fe Add wasmer-capi-example-runner 2022-09-15 12:03:43 +02:00
Felix Schütt
7e0a3b5cd6 Migrate from inline-c to wasmer-inline-c 2022-09-15 11:59:07 +02:00
Felix Schütt
ada5810b25 Fix various compilation errors on windows 2022-09-15 11:47:20 +02:00
Felix Schütt
94baa50bbf cargo fmt 2022-09-15 11:38:13 +02:00
Felix Schütt
4d1ebda1d2 Undo accidental symlink removal 2022-09-15 11:36:39 +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
Felix Schütt
fd390f6160 Fix first Makefile completely on Windows 2022-09-14 15:55:41 +02:00
Felix Schütt
05af38c9a5 Port first Makefile to Rust + add MSVC flags 2022-09-14 13:11:48 +02:00
Felix Schütt
328a98edec Fixup Makefile-based tests to be Rust-based instead 2022-09-13 21:34:02 +02:00
Felix Schütt
59eb5f177e Fixed compilation on Windows MSVC (first 20 tests) 2022-09-13 18:58:29 +02:00