Commit Graph

149 Commits

Author SHA1 Message Date
Felix Schütt
f44c6bd83f Try linking to -lunwind on Windows 2023-01-02 18:15:36 +01:00
Felix Schütt
bab6be54c0 Remove test-setup test 2023-01-02 17:58:57 +01:00
Felix Schütt
48769d6b65 Remove failing integration test 2023-01-02 17:45:21 +01:00
Felix Schütt
b6d0800fe0 Try fixing integration tests again 2023-01-02 17:14:13 +01:00
Felix Schütt
a44928e6ab Try fixing cross-compile test again 2023-01-02 14:52:46 +01:00
Felix Schütt
234f207f81 Fix filter_tarballs when downloading tarballs 2023-01-02 13:30:23 +01:00
Felix Schütt
4a0587fa2b Port fix for integration tests from fast-ci PR 2023-01-02 12:15:37 +01:00
Felix Schütt
1736a801fa Fix make lint 2023-01-02 11:21:27 +01:00
Felix Schütt
015fc8c349 Use extra constants for system libraries 2023-01-02 10:40:47 +01:00
Felix Schütt
c8e7185917 Proper parsing for zig version 2023-01-02 10:34:38 +01:00
Felix Schütt
26c4fbef33 Use String::from_utf8_lossy 2023-01-02 10:28:50 +01:00
Felix Schütt
de39d61937 Use strip_prefix instead of replacen 2023-01-02 10:27:00 +01:00
Felix Schütt
ddbe5d7986 Fix typo conpile -> compile 2023-01-02 10:24:49 +01:00
Felix Schütt
c450fc28ea Remove duplicated code paths for create-exe 2023-01-02 10:20:58 +01:00
Felix Schütt
5f87aa626e Add ENV to zig-binary-path
Co-authored-by: Michael Bryan <michael@wasmer.io>
2023-01-02 10:13:37 +01:00
Felix Schütt
cca97fb78c Fix integration tests 2022-12-30 14:20:03 +01:00
Felix Schütt
6ceb013a57 Fix bug that accidentally deleted the output file after zig compile 2022-12-30 12:08:10 +01:00
Felix Schütt
fd4cff1465 Add debugging to zig compilation 2022-12-30 11:28:34 +01:00
Felix Schütt
cbc0775db6 Set object_format when creating module_infos 2022-12-30 11:07:33 +01:00
Felix Schütt
9df3d955f3 Fix make lint 2022-12-30 10:41:14 +01:00
Felix Schütt
0ca9efd17d Implement caching + add integration test 2022-12-30 09:57:47 +01:00
Felix Schütt
bbf7870bf2 Fix make lint 2022-12-30 09:35:49 +01:00
Felix Schütt
fa8468cc2c Fix description for --precompiled-atom 2022-12-30 09:07:35 +01:00
Felix Schütt
76fb7e4653 Normalize input path 2022-12-29 22:54:32 +01:00
Felix Schütt
d8b5735a77 Fix std::fs::copy on Windows 2022-12-29 22:38:49 +01:00
Felix Schütt
aa3cacb804 Normalize path 2022-12-29 22:30:26 +01:00
Felix Schütt
9efd87cccd Use format!() on all file paths to fix compile errors on Windows 2022-12-29 22:21:07 +01:00
Felix Schütt
b5f1fc1136 Get rid of format!() macros to debug wrong pathbufs on Windows 2022-12-29 21:54:32 +01:00
Felix Schütt
927feb3a9a Remove unnecessary format!() calls to fix errors on Windows 2022-12-29 21:31:13 +01:00
Felix Schütt
1a572f976b Remove support for wasmer-headless for now, remove -lunwind 2022-12-29 20:50:25 +01:00
Felix Schütt
49d2e14762 Try running create-exe on Windows 2022-12-29 18:09:37 +01:00
Felix Schütt
e00aae8f13 Fix the prefix / sha256 CLI parsing 2022-12-29 17:07:28 +01:00
Felix Schütt
ddc550b9a5 Fix -target error 2022-12-29 16:33:07 +01:00
Felix Schütt
e856932e65 Fix integration tests partially 2022-12-29 15:21:42 +01:00
Felix Schütt
f7df7cc28d Debug failing integration tests 2022-12-29 10:22:23 +01:00
Felix Schütt
802e9e241b Fix create-exe bugs 2022-12-29 10:02:44 +01:00
Felix Schütt
798286bb21 Fix integration tests except for multi-command test 2022-12-28 16:36:33 +01:00
Felix Schütt
032cb2cbcd Fix segfault when using --object-format serialized and compile errors 2022-12-28 10:04:28 +01:00
Felix Schütt
8a97f4458f Debug why --object-format serialized segfaults 2022-12-27 16:08:04 +01:00
Felix Schütt
abac4ee34d Fix most compilation errrors when migrating to prefix buildFix most compilation errrors when migrating to prefix buildFix most compilation errrors when migrating to prefix buildFix most compilation errrors when migrating to prefix buildFix most compilation errrors when migrating to prefix buildFix most compilation errrors when migrating to prefix buildFix most compilation errrors when migrating to prefix buildFix most compilation errrors when migrating to prefix buildFix most compilation errrors when migrating to prefix build 2022-12-27 14:14:57 +01:00
Felix Schütt
f3e58cd518 Fix errors in looking up prefix hashes 2022-12-27 13:06:51 +01:00
Felix Schütt
3aa0ecba3e Add option to reject multi-wasm files 2022-12-27 12:18:14 +01:00
Felix Schütt
77bc458ec7 Fix entrypoint serialization 2022-12-27 11:32:12 +01:00
Felix Schütt
f6816dd0b2 Add create_header_files_in_dir step 2022-12-27 07:53:53 +01:00
Felix Schütt
62bdc08326 Add prefix mapping to create-exe and create-obj 2022-12-27 04:56:17 +01:00
Felix Schütt
b06c04b6d6 Ignore presence of zig if --use-system-linker is specified 2022-12-23 18:30:28 +01:00
Felix Schütt
8fbf05165e Add fallback to system linker in case zig is not available 2022-12-23 16:40:16 +01:00
Felix Schütt
358296f353 Fix linking for --object-format serialized 2022-12-23 15:04:06 +01:00
Felix Schütt
acdc7e2498 Fix error when WASMER_DIR is not defined + prepare libwasmer-headless 2022-12-23 14:44:28 +01:00
Felix Schütt
88f6933876 Remove static_create_exe_main.c since it's duplicated 2022-12-23 14:20:08 +01:00