ptitSeb
26b43fee27
Merge branch 'master' into wasix-core-changes
2023-01-05 21:32:17 +01:00
Christoph Herzog
b5b0d04feb
Merge remote-tracking branch 'origin/master' into wasix-core-changes
2023-01-02 10:48:26 +01:00
Felix Schütt
07a42c45e7
Merge branch 'master' into multi-command-exe
2023-01-02 08:28:48 +01:00
Felix Schütt
b873f0fe1a
Fix make lint
2022-12-23 14:03:18 +01:00
Felix Schütt
1d4bc0446c
Fix make lint / remove unnecessary code
2022-12-19 12:05:55 +01:00
Christoph Herzog
5109a407c4
WASIX Preparation
...
This commit extracts changes to core libraries made in the WASIX branch.
It is not reasonable to extract the partial commit history, so this is
just a batch commit.
The history will make a bit more sense again if we decide to merge the
WASIX branch with full commit history.
2022-12-16 11:47:04 +01:00
Felix Schütt
7529d98fce
Debug why linker invocation doesn't work
2022-12-07 14:55:43 +01:00
Felix Schütt
f44f7071d1
Add cargo test-integration and test-capi impl
2022-12-07 14:55:43 +01:00
Felix Schütt
449a77fb6b
cargo fmt
2022-09-26 10:22:56 +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
dc54c608d0
Add /include directory to c-api/tests
2022-09-23 14:22:48 +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
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
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
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
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
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