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
Christoph Herzog
fff72e4fda
Merge remote-tracking branch 'origin/master' into wasix-core-changes
2022-12-27 15:05:40 +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
Christoph Herzog
a499deadeb
Bump webc to 4.0.0
...
The earlier 0.4.1 downgrade was a "hack".
There alrady is a 3.x version that was used previously, but is broken.
We replaced that with 0.4.1, which was the latest publish, but we can't
downgrade to a previous version...
So 0.4.1 was re-relased as 4.0.0.
2022-12-22 16:38:05 +01:00
Felix Schütt
75a7e68f9b
Merge branch 'master' into multi-command-exe
2022-12-22 15:33:31 +01:00
Felix Schütt
aa04d58d62
Update wasmer-registry to 4.0.0
2022-12-22 14:25:45 +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
Felix Schütt
03693d5ccc
Simplify create-exe a lot
2022-12-21 12:14:55 +01:00
Felix Schütt
139c3147d6
Revert to "get" / "set" for settable config keys
2022-12-21 09:02:07 +01:00
Felix Schütt
b24025ad01
cargo clippy --fix --all
2022-12-21 00:49:45 +01:00
Felix Schütt
e9ceff9e16
Use MIGRATIONS.len() and fix compile errors
2022-12-21 00:23:56 +01:00
Felix Schütt
96f14164af
Bubble error on .tar.gz build failure
2022-12-21 00:16:34 +01:00
Felix Schütt
896cf0dc3c
Make SignArchiveResult::Ok clearer
...
Co-authored-by: Michael Bryan <michael@wasmer.io >
2022-12-21 00:03:48 +01:00
Felix Schütt
b26c73ee32
Use anyhow .with_context
...
Co-authored-by: Michael Bryan <michael@wasmer.io >
2022-12-21 00:03:04 +01:00
Felix Schütt
117c9a3cb6
Rework switching between --bin, --lib and --empty
...
Co-authored-by: Michael Bryan <michael@wasmer.io >
2022-12-20 23:54:35 +01:00