Commit Graph

725 Commits

Author SHA1 Message Date
Felix Schütt
a092648744 Merge branch 'master' into fast-ci 2022-12-30 11:20:12 +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
65bcdfbdc4 Use splitn to resolve mapdir bug on Windows 2022-12-29 22:01:25 +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
8806c67635 Fix actual error with strstr 2022-12-29 19:01:00 +01:00
Felix Schütt
ed251a46f5 Use strstr to detect WASI failure 2022-12-29 18:59:51 +01:00
Felix Schütt
49d2e14762 Try running create-exe on Windows 2022-12-29 18:09:37 +01:00
Felix Schütt
f3d0902f68 Fix multi-command-exe test 2022-12-29 17:56:32 +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
Christoph Herzog
a6fa558e8a Merge branch 'wasix-core-changes' into wasix 2022-12-27 15:08:37 +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
8e0484b648 Add object output to create-obj 2022-12-27 05:10:01 +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
Felix Schütt
b873f0fe1a Fix make lint 2022-12-23 14:03:18 +01:00
Felix Schütt
75a7e68f9b Merge branch 'master' into multi-command-exe 2022-12-22 15:33:31 +01:00
Felix Schütt
c7986832a2 Debug why linking WASMER_METADATA doesn't work for multiple files 2022-12-22 13:58:40 +01:00
Felix Schütt
3672e03f96 Merge branch 'master' into multi-command-exe 2022-12-22 11:40:38 +01:00
Felix Schütt
fdd62e188d Fix merge issues 2022-12-22 11:36:34 +01:00
Felix Schütt
ec18ec71e7 PartialWapmConfig -> WasmerConfig 2022-12-22 11:29:39 +01:00
Felix Schütt
45f4b8da4e Merge branch 'master' into config 2022-12-22 11:28:56 +01:00
Felix Schütt
9d9a6d398e Re-add generate_wasmer_main_c_static 2022-12-21 17:18:27 +01:00
Felix Schütt
b5119432ef Add CLI handling to wasmer_main.c 2022-12-21 15:51:46 +01:00
Felix Schütt
c92d8d34e3 Add compilation for single and multi-wasm inputs 2022-12-21 14:36:06 +01:00
Felix Schütt
bc7d125894 Add compile_c back and add compilation for atoms 2022-12-21 14:36:06 +01:00