Commit Graph

725 Commits

Author SHA1 Message Date
Syrus Akbary
ad33819642 Fix wasm publish validation 2023-01-11 22:14:52 +00:00
Felix Schütt
15c1efd17e Fix error when zig is not present, don't pass -target to linker 2023-01-05 11:47:54 +01:00
Felix Schütt
84dc64bbd1 Migrate from WASMER_METADATA_ to using SymbolRegistry 2023-01-04 17:36:52 +01:00
Felix Schütt
2c9ad00573 WASMER_{}_METADATA -> WASMER_METADATA_{} 2023-01-04 15:44:25 +01:00
Felix Schütt
253cd21183 Document metadata_prefix and remove PrefixerFn 2023-01-04 15:23:43 +01:00
Felix Schütt
219151fa29 Try using prefixer = None like in master 2023-01-04 13:17:22 +01:00
Felix Schütt
a344e94e83 Switch back to ReleaseSafe 2023-01-04 12:23:38 +01:00
Felix Schütt
0fbcbeed66 Add debugging to why linux-x64 doesn't work 2023-01-04 11:52:30 +01:00
Felix Schütt
683c60c255 Refactor gen-c-header using Artifact::metadata 2023-01-04 11:24:31 +01:00
Felix Schütt
d8ca009cf8 Add metadata length calculation to gen-c-header 2023-01-04 10:34:29 +01:00
Felix Schütt
5d959134eb Add support for gen-c-header on pirita files 2023-01-04 10:00:29 +01:00
Felix Schütt
afb9d401cd Add gen-c-header option 2023-01-04 09:45:08 +01:00
Felix Schütt
3a7307bff9 Add integration test to test that CLI args handling is done properly 2023-01-04 08:40:26 +01:00
Felix Schütt
e8989f320b Fix prefix issue in init-publish test on Windows 2023-01-03 23:22:54 +01:00
Felix Schütt
cfe89e53ac Disable more tests + fix make lint 2023-01-03 22:56:13 +01:00
Felix Schütt
23791ba892 Fix wasmer init tests on Windows 2023-01-03 21:57:26 +01:00
Felix Schütt
d166bf8722 Windows: disable more tests due to -lunwind issue, fix include paths 2023-01-03 21:46:11 +01:00
Felix Schütt
d3f177be82 Remove debugging println and capture stdout correctly 2023-01-03 20:59:15 +01:00
Felix Schütt
f34e12ef79 Fix panic if WASMER_DIR does not exist 2023-01-03 20:28:37 +01:00
Felix Schütt
4d5c899c1a Add more debugging to debug "file not found" error 2023-01-03 18:53:07 +01:00
Felix Schütt
4c61969777 Add debugging for where the "path not found" error comes from 2023-01-03 17:59:19 +01:00
Felix Schütt
66f78ae7a3 Add special-case compilation for windows and add comments 2023-01-03 16:46:07 +01:00
Felix Schütt
6e46e4f5e4 Add CLI flag to select for a URL or version to download tarballs from 2023-01-03 09:58:22 +01:00
Felix Schütt
2c1eee48ad Add -lunwind on non-windows targets 2023-01-02 20:50:30 +01:00
Felix Schütt
51b13f61d7 Remove -lunwind 2023-01-02 19:48:14 +01:00
Felix Schütt
73859f52ef Use -OReleaseFast to disable exception handling on Windows 2023-01-02 18:26:47 +01:00
Felix Schütt
a859d68941 create-exe: use -lc on all platforms 2023-01-02 18:24:30 +01:00
Felix Schütt
f44c6bd83f Try linking to -lunwind on Windows 2023-01-02 18:15:36 +01:00
Felix Schütt
c217b8df34 Revert "Remove unnecessary manual CLI parsing"
This reverts commit b2d4e975e3.
2023-01-02 18:03:34 +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
b2d4e975e3 Remove unnecessary manual CLI parsing 2023-01-02 11:08:38 +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
c1b2c961d7 Remove unnecessary clap args 2023-01-02 09:59:54 +01:00
Christoph Herzog
9c0da24d2e Merge remote-tracking branch 'origin/master' into wasix 2023-01-02 09:33:31 +01:00
Felix Schütt
cca97fb78c Fix integration tests 2022-12-30 14:20:03 +01:00
Felix Schütt
3d20e6a112 Fix error message for wasmer.lib not being found
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2022-12-30 13:22:32 +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