Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2503 commits
Select commit Hold shift + click to select a range
33cef6b
CI: restore cache + free some disk space (#6068)
marxin Jan 15, 2026
d2ca411
CI: do not run test as part of binary build (#6056)
marxin Jan 16, 2026
7fda581
Progress reporting for module loading and compilation (#5883)
theduke Jan 16, 2026
be40009
chore: drop .cargo/config.toml (#6071)
marxin Jan 16, 2026
350a730
fix(wasix): handle empty subscription list in poll_oneoff and add tes…
artemyarulin Jan 18, 2026
1391b18
fix(LLVM): fix extmul_high/extmul_low operations (#6077)
marxin Jan 19, 2026
6e34a52
CI: run some tests for all compilers (#6030)
marxin Jan 19, 2026
840cfdf
tests: list known failing tests (#6029)
marxin Jan 19, 2026
5adbc49
add Rust tools to Nix development environment
Twey Jan 13, 2026
57b63c4
fix(LLVM): RISC-V rounding operations need an extra check (#6079)
marxin Jan 19, 2026
6c04041
tools: port make-release.py to format after Ruff + include RELEASE.md…
marxin Jan 19, 2026
c170038
deps: bump tungstenite-related crates (#6034)
marxin Jan 19, 2026
8954f0b
deps: bump cranelift version (#6081)
marxin Jan 19, 2026
012eab3
chore: use hex crate instead of custom format (#6036)
marxin Jan 20, 2026
894c9d7
fix(cli): package download: do not rely on `Content-Length` header (#…
marxin Jan 21, 2026
d43e078
Update lib/wasix/src/syscalls/wasi/poll_oneoff.rs
artemyarulin Jan 21, 2026
4188b1a
chore: delete empty files (#6085)
marxin Jan 21, 2026
411ac77
chore: get rid of static mut variables (#6088)
marxin Jan 21, 2026
05ef233
feat: replace `--mapdir` and `--map` with `--volume` argument (#6033)
marxin Jan 21, 2026
0b09c38
deps: bump criterion crate (#6035)
marxin Jan 21, 2026
3223b19
feature(cli): Use a new R2 upload mechanism for publishing packages (…
artemyarulin Jan 21, 2026
60c471d
chore: drop `xxhash` hashing algorithm (#6080)
marxin Jan 21, 2026
2243d0f
deps: bump zip crate (#6082)
marxin Jan 21, 2026
fd19919
fix(LLVM,macOS): fix compact unwinding bookkeeping (#6087)
marxin Jan 21, 2026
d2a7ec2
deps: bump Cranelift to 0.128.0 (#6090)
marxin Jan 21, 2026
e97aef9
fix: compact unwind info - use rangemap (#6091)
marxin Jan 22, 2026
81691ed
CI(docs.rs): not use --no-deps as a workaround (#6065)
marxin Jan 22, 2026
f3d21a3
fix(LLVM,riscv64): fix calling conventions for `i32` type (#6072)
marxin Jan 22, 2026
4ae6a22
feat: include module hash in `--compiler-debug-dir` path (#6042)
marxin Jan 22, 2026
c947a0e
build: Switch back to plain rust-toolchain file (#6096)
theduke Jan 22, 2026
2205fce
Merge pull request #6074 from wasmerio/fix/poll_oneoff_loop
zebreus Jan 22, 2026
b6d50c9
fix(fuzz): stabilization fixes + refactoring (#6094)
marxin Jan 22, 2026
7e95511
CI: skip tests on RISC-V and LoongArch64 (#6093)
marxin Jan 22, 2026
c894460
deps: bump MSRV to 1.91.1 (#6048)
marxin Jan 22, 2026
c1541e5
feat: Enable compressed package downloads
theduke Jan 15, 2026
dc40f0c
fix(Windows): resolve `probestack` relocation target (#6097)
marxin Jan 22, 2026
6debacb
fix: exception reference is i32 type (#6101)
marxin Jan 22, 2026
0218857
chore(test-wasix): use --volume instead of --dir argument (#6099)
marxin Jan 22, 2026
5a05974
fix(fuzz): fix also `deterministic` and `metering` targets (#6098)
marxin Jan 22, 2026
bac0f41
fix(macos-x64): restore unwind info (#6102)
marxin Jan 23, 2026
1e67d65
Add a better setup for copilot
zebreus Jan 15, 2026
7d44988
Update .github/workflows/copilot-setup-steps.yml
zebreus Jan 15, 2026
48c3984
Adjust copilot instructions
zebreus Jan 15, 2026
82b5bfd
Add cache stage for copilot
zebreus Jan 19, 2026
eca7147
Adjust setup steps
zebreus Jan 19, 2026
4020275
Adjust copilot instructions
zebreus Jan 19, 2026
a478151
Add wasm-tools to copilot setup
zebreus Jan 20, 2026
d9117da
Add creduce to the copilot setup
zebreus Jan 20, 2026
25f15ea
Document wasm specific tools in copilot instructions
zebreus Jan 20, 2026
597ad22
Update CHANGELOG
marxin Jan 23, 2026
56636fd
Release 7.0.0-rc.1
marxin Jan 23, 2026
5249ce9
CHANGELOG: drop duplicate entries
marxin Jan 23, 2026
abeca39
add release notes
marxin Jan 23, 2026
ade0b44
fix make-release.py listing of the merged PRs
marxin Jan 23, 2026
143dc50
Update CHANGELOG.md
marxin Jan 23, 2026
30a0c4d
Fix msrv selection
zebreus Jan 23, 2026
b625a4b
Merge pull request #6106 from wasmerio/release-7.0.0-rc.1
marxin Jan 23, 2026
3a238ed
Merge pull request #6066 from wasmerio/wasmer-setup-copilot-workflow
zebreus Jan 23, 2026
e19c451
fix(wasix): Restore proper webc v2 mount handling
theduke Jan 25, 2026
8f499fe
fix(docs.rs): fix documentation build (RC version of `sha2` crate) (#…
marxin Jan 26, 2026
6ecb4e4
fix(cranelift): support ::Exn (fix php/php-32 compilation) (#6109)
marxin Jan 26, 2026
37650e4
fix(LLVM): fixed ABI issues noticed while fuzzing (#6114)
marxin Jan 26, 2026
4b8531e
chore(fuzzing): small refactor (#6115)
marxin Jan 26, 2026
800d504
fix(LLVM): record try_table in unreachable_depth (#6117)
marxin Jan 26, 2026
92b49c7
Merge commit 'b625a4b960f60a8c192cae000cc151f544962578' into wasmer7
rory-ocl Jan 26, 2026
3a43936
Remove hardcoded MSRV in github actions (#6107)
zebreus Jan 27, 2026
3ba6922
chore(fuzzing): tweak options and save file early (#6120)
marxin Jan 27, 2026
40ff491
fix: do not use engine.new_module_with_progress for non-sys Engines (…
marxin Jan 27, 2026
b95a2ae
fix(LLVM): fix ABI related to pointer type (#6118)
marxin Jan 27, 2026
a51e474
feat(LLVM): use verbose asm output for debug output (#6119)
marxin Jan 27, 2026
fb45f60
Update CHANGELOG
marxin Jan 27, 2026
909473e
Release 7.0.0-rc.2
marxin Jan 27, 2026
71d21c0
Move release entry to the latest version
marxin Jan 27, 2026
5deb53c
Merge pull request #6124 from wasmerio/release-7.0.0-rc.2
marxin Jan 27, 2026
aa5016c
Fix copilot setup
zebreus Jan 27, 2026
aa8fcce
Also check that the correct clang is in the path
zebreus Jan 27, 2026
3f8aa0e
Merge pull request #6130 from wasmerio/fix-copilot-setup
zebreus Jan 27, 2026
db040f7
fix(virtual-fs): Fix read_dir missing mount prefix
artemyarulin Jan 27, 2026
7c45ad8
tests: Add additional test which shows the issue we got with duplicat…
artemyarulin Jan 27, 2026
9f550c2
build(v8): disable in the official tarballs (#6125)
marxin Jan 28, 2026
7e73e0a
Release 7.0.0 (#6133)
marxin Jan 28, 2026
196846d
fix(build): do not use legacy 1.0.3 mold release (#6136)
marxin Jan 28, 2026
80ebe41
Switch from legacy `rust-toolchain` format (#6134)
marxin Jan 29, 2026
17b23c1
Fix binfmt_misc (#6140)
zebreus Jan 30, 2026
0e643e8
wasix: fix sock_set_opt_size option validation
artemyarulin Jan 30, 2026
86fb557
fix rust-format warning (#6142)
marxin Jan 30, 2026
c430cca
Merge commit '196846d3f7b6adcbbef1b6a6a484c71d3fcb6b1a' into wasmer7
rory-ocl Jan 30, 2026
8fb0d68
Merge pull request #6143 from wasmerio/fix/sock_set_opt
artemyarulin Jan 31, 2026
423fefe
Fix mounts not being handled properly when running a package directly…
Arshia001 Jan 31, 2026
afa1e90
Add tests for #6146 (#6154)
Arshia001 Feb 2, 2026
7856d4a
Update CHANGELOG
marxin Feb 2, 2026
85be500
Release 7.0.1
marxin Feb 2, 2026
9e06834
chmod +x for scripts
marxin Feb 2, 2026
6ce9da9
Merge pull request #6155 from wasmerio/release-7.0.1
marxin Feb 2, 2026
092b0c3
cicd: Disable integration tests (temporarily... hopefully) (#6157)
baalimago Feb 3, 2026
26cd073
chore: use WASMER_REPRODUCIBLE_BUILD for reproducible builds (#6137)
marxin Feb 3, 2026
1b5fb2a
feat(LLVM+Cranelift): parallel compilation revamp (#6153)
marxin Feb 3, 2026
767129b
Add ModuleInfo for public re-export in api (#6158)
suprohub Feb 3, 2026
d82f95b
feat(cli): use percent indication in progress bar (#6159)
marxin Feb 3, 2026
a40a05c
deps: bump crates (#6160)
marxin Feb 3, 2026
dbcacbb
CI: skip zig step (unused) (#6164)
marxin Feb 5, 2026
e5b74d9
fix(perfmap): support shared libraries (append to file) (#6163)
marxin Feb 5, 2026
9145214
deps: bump webc and rand (#6167)
marxin Feb 5, 2026
cb0fbf6
deps: bump time (#6169)
marxin Feb 6, 2026
a957fee
Deploy improvements (#6165)
syrusakbary Feb 6, 2026
56df29c
Bump crate dependencies (#6171)
marxin Feb 9, 2026
0967743
Pin the wasixcc ref to a known good point, since main may be broken a…
Arshia001 Feb 11, 2026
3fd5f8d
fix(sdk): Inaccurate handling of command-line arguments in `proc_exec…
marxin Feb 11, 2026
58f166d
fix(Singlepass): support ExternRef and FuncRef (#6139)
marxin Feb 11, 2026
60e7cca
chore: use vmctx name in LLVM IR dumps (#6185)
marxin Feb 11, 2026
f06e920
bump wasm-tools related crates (#6186)
marxin Feb 11, 2026
9c605e5
feat(CLI): use --disable-cache if --compiler-debug-dir used (#6182)
marxin Feb 11, 2026
6d1ef2c
fix(wasix): Add symlink support in path_open (#6190)
theduke Feb 12, 2026
b6cb0c7
fix(CI): stick to older wasixcc (#6194)
marxin Feb 12, 2026
38198e0
fix(wasix): fd_allocate should never truncate the file (#6132)
artemyarulin Feb 13, 2026
c878552
Resurrect Wasmer CLI integration tests (#6174)
marxin Feb 13, 2026
8da2fcf
bump wasixcc to 0.3.0 (#6192)
marxin Feb 13, 2026
b5064ac
CI: do not create ignored jobs on PRs (#6199)
marxin Feb 16, 2026
877191f
CI(macos-arm/x86): skip on PR (main branch only) (#6203)
marxin Feb 16, 2026
325085b
chore(LLVM): remove unnecessary function (#6201)
marxin Feb 17, 2026
b073913
fix: relax parsing of --volume argument with respect to Windows (#6202)
marxin Feb 17, 2026
2e13102
Add more cloexec tests (#6193)
zebreus Feb 17, 2026
d1f3214
Relaxed SIMD support (#6151)
syrusakbary Feb 17, 2026
aa32ce7
update `spec` tests from upstream (#6205)
marxin Feb 17, 2026
13bfbc5
chore: bump dynasm crate (#6206)
marxin Feb 18, 2026
6aa2582
fix(wasix-fs): align symlink semantics across resolution, persistence…
theduke Feb 17, 2026
db4c4f8
chore: fix new clippy warnings (#6210)
marxin Feb 18, 2026
1bbd626
deps: bump zip and clap_lex crates (#6209)
marxin Feb 18, 2026
07739ac
chore(LLVM): do not emit BB names with a space (#6211)
marxin Feb 18, 2026
d406d84
feat(LLVM): use m0 param by default (#6213)
marxin Feb 20, 2026
c8ad7d4
feat: drop XXHash from ModuleHash Artifact format (#6219)
marxin Feb 20, 2026
af19d7a
Merge pull request #6208 from wasmerio/wasix-symlink-fixes
zebreus Feb 20, 2026
d867825
CI: increase nextest timeouts for Int. tests on Windows (#6218)
marxin Feb 23, 2026
042b2db
chore(LLVM): rename trampoline/wasm.rs to translator/trampoline.rs (#…
marxin Feb 23, 2026
4780c17
feat: include Updated column in app listing (#6229)
marxin Feb 23, 2026
1a720d1
feat(LLVM): mark memory loads/stores as non-volatile for WASIX module…
marxin Feb 23, 2026
32ccf4a
fix(Singlepass): use correct signature for wasmer_vm_memory32_atomic_…
marxin Feb 23, 2026
dac744b
chore(LLVM): use descriptive names for trampoline wrappers (#6227)
marxin Feb 23, 2026
4b1cc52
chore: simplify how we display CPU flags (#6226)
marxin Feb 23, 2026
c89c267
deps: bump crates (#6225)
marxin Feb 23, 2026
f96bc23
feat: drop SuggestedCompilerOptimizations as it's unused (#6223)
marxin Feb 23, 2026
ad52c18
test(WASIX): test setjmp under C++ with -flto (#6224)
marxin Feb 23, 2026
5dde6b5
fix(Backend): Sys backend should use all supported features (#6222)
marxin Feb 23, 2026
2d2b94d
Update CHANGELOG
marxin Feb 23, 2026
48256db
Release 7.1.0-alpha.1
marxin Feb 23, 2026
aab2ff3
Merge pull request #6231 from wasmerio/release-7.1.0-alpha.1
marxin Feb 24, 2026
dad5e4a
Clean up new wasix test infrastructure
zebreus Jan 14, 2026
97eb563
Capture stdin and stdout of test wasm module
zebreus Jan 14, 2026
a284804
Rework context_switching tests
zebreus Jan 14, 2026
b74bf63
Start migrating tests from wasix-tests
zebreus Jan 14, 2026
0e4bc0b
Run cargo fmt
zebreus Jan 15, 2026
530885e
Add test util for running wasm with output
zebreus Jan 15, 2026
8db786c
Add semaphore tests from wasix-tests
zebreus Jan 15, 2026
81221bb
Add include for C++ headers in the sysroot
zebreus Jan 15, 2026
609e5d9
Add lifecycle tests from wasix-tests
zebreus Jan 15, 2026
0d740a6
Add reflection tests
zebreus Jan 15, 2026
cb94cc6
Move exception handling tests from wasix-tests
zebreus Jan 15, 2026
7ffb191
Add ffi tests
zebreus Jan 15, 2026
89e46e6
Add threadlocal tests from wasix-tests
zebreus Jan 15, 2026
0c23fab
Add module caching to run_test_with_result
zebreus Jan 15, 2026
af7c375
Port more tests from wasix-tests
zebreus Jan 19, 2026
8d190a7
Clean up the wasixcc tests utils
zebreus Jan 19, 2026
3fcbbee
Add downloading of a compatible sysroot
zebreus Jan 28, 2026
9f475bc
Fix test utils
zebreus Jan 28, 2026
7dbfa16
Allow run_wasm to be unused
zebreus Jan 29, 2026
c43aea6
Disable new wasix tests for mac and js
zebreus Jan 29, 2026
c2ba7b7
Adjust wasixcc utils for new wasixcc version
zebreus Feb 24, 2026
2262c4e
Add missing test files
zebreus Feb 25, 2026
49e5f7e
deps: bump cranelift, gimli and toml dependencies (#6238)
marxin Feb 25, 2026
cba4d53
fix(docs): update comments about Features (#6240)
marxin Feb 26, 2026
3467b21
feat: support Wide arithmetic WA proposal (#6243)
marxin Feb 26, 2026
dbf9984
Merge branch 'main' into wasix-test-revamp
marxin Feb 26, 2026
188fd4b
disable one EH test - bug in Cranelift
marxin Feb 26, 2026
bb51db5
disable one more EH test (Cranelift defect)
marxin Feb 26, 2026
9745a8a
Use CC/CXX
marxin Feb 26, 2026
e526040
chore: simplify WasmFeatures init (#6241)
marxin Feb 26, 2026
3641981
feat: support Extended constant expressions WA feature (#6242)
marxin Feb 26, 2026
492ef3b
chore(tests): take tests from the official unified repo (#6248)
marxin Mar 2, 2026
30278c5
Fix typo in popen test
zebreus Mar 2, 2026
6e0dd8f
Fix typo in commented test
zebreus Mar 2, 2026
ec951fe
Move new tests into one integration test
zebreus Mar 2, 2026
e9ba585
Add readme for the WASIX wasm tests
zebreus Mar 2, 2026
1246c42
Fix moved tests
zebreus Mar 2, 2026
079027f
Merge pull request #6055 from wasmerio/wasix-test-revamp
zebreus Mar 2, 2026
cdd5545
CI: use latest wasixcc (#6249)
marxin Mar 3, 2026
7587e78
deps: bump reqwest and cynic (#6250)
marxin Mar 3, 2026
1f35089
chore: include settings.json with default rust-analyzer features (#6254)
marxin Mar 3, 2026
a037c02
wasix: Track origin package in commands
theduke Mar 3, 2026
a384728
Merge pull request #6257 from wasmerio/run-891-track-origin-package-i…
marxin Mar 4, 2026
78f86ac
feat(debugging): add find-fn-in-perfmap script (#6253)
marxin Mar 4, 2026
fa66a8e
feat(inspect): list also Tags (#6262)
marxin Mar 5, 2026
cdcb940
tests(wasix): Add bunch of unit test for TTY behaviour
artemyarulin Mar 5, 2026
764ca69
wasix(tty): Refactor for more robust parsing and handle all kind of e…
artemyarulin Mar 5, 2026
1e2888f
chore: clippy and drop dead code (#6274)
marxin Mar 9, 2026
98737e6
Merge tag 'v7.1.0-alpha.1' into wasmer7
bragaigor Mar 9, 2026
f83e6ad
make lint happy
bragaigor Mar 9, 2026
6ec3128
wasix(tty): Fix backspace handling and use proper default for tty col…
artemyarulin Mar 9, 2026
3eb58d2
feat(scripts): include perf report+annotate like command (#6264)
marxin Mar 9, 2026
fe885bf
fix: deadlock while signal handling with intervals
aeryz Mar 10, 2026
79ed617
fix(docs): use correct link (#6277)
marxin Mar 11, 2026
5e6c9d3
fix: address i686 build error (#6276)
marxin Mar 11, 2026
653dce1
fixup! Linter, comments, move code around
artemyarulin Mar 11, 2026
0608232
fix(wasix): Refactor EPOLL implementation
theduke Mar 3, 2026
9158ddb
Epoll test improvements
theduke Mar 3, 2026
402cbd7
fix(wasix): Prevent FD race conditions on file descriptors
theduke Mar 3, 2026
c1a2b19
fix(wasix): make fd_renumber close-and-insert atomic
sumleo Feb 26, 2026
4b4aa9f
wasix: harden fd lifecycle races across open/close/renumber/epoll
theduke Mar 4, 2026
9899a87
Address review comments
theduke Mar 4, 2026
334313b
Fix epoll operation numbering and immediate-write construction
theduke Mar 4, 2026
871dda0
chore: Improve comment
theduke Mar 4, 2026
07a3ce3
test(cli): make nested mounted paths assertion robust
theduke Mar 4, 2026
1de3656
wasix: resolve / to mounted root entry under virtual root
theduke Mar 4, 2026
d2e94ef
wasix: satisfy clippy for mounted root / resolution
theduke Mar 4, 2026
7517768
fix(wasix): Ensure every syscall calls get_fd only once, remove count…
artemyarulin Mar 11, 2026
6df6ca5
chore(cranelift): update to 0.129.1 (#6278)
marxin Mar 12, 2026
22a7744
fix(packaging): take correct wasmer.lib file for packaging (#6275)
marxin Mar 12, 2026
2302db8
fix(macos): Fix a bug in EH info decoding (#6285)
marxin Mar 12, 2026
531bad6
fix(Features): align C and Rust functions (#6286)
marxin Mar 12, 2026
a75717d
chore: simplify parsing logic (#6287)
marxin Mar 12, 2026
41d0730
feat(wasix): Add custom import and instance creation hooks
theduke Mar 12, 2026
3288338
feat(wasix): Respect enable_asynchronous_threading in instance execution
theduke Mar 12, 2026
03f6196
fix(wasix): Split deep sleep and asynchronous threading behaviour
theduke Mar 12, 2026
0f19792
fix: Async threading logic fixes
theduke Mar 12, 2026
cbb6aef
chore: relax overaggresive lints in LLVM compiler (#6291)
marxin Mar 12, 2026
e0f4c68
fix(CI): C-API for macOS platform (#6292)
marxin Mar 12, 2026
e4cd12d
Merge pull request #6266 from wasmerio/fix/tty
Mar 12, 2026
9d68f59
fix(wasix): Use correct poll_write_ready for writes instead of wrongl…
Mar 13, 2026
2402bb5
Use correct asyncify_stop_rewind instead of asynify_stop_unwind (#6296)
Mar 13, 2026
de706b2
fix(wasix): Fix connect_tcp readiness, and epoll del cleanup (#6298)
Mar 16, 2026
3618c54
feat: introduce NAPI (#6301)
marxin Mar 16, 2026
1db049e
Update CHANGELOG
marxin Mar 16, 2026
16ff090
Release 7.1.0-rc.1
marxin Mar 16, 2026
7f57cc0
fix(macos): v8 custom build binary
marxin Mar 16, 2026
0d45ecc
Merge pull request #6304 from wasmerio/release-7.1.0-rc.1
marxin Mar 16, 2026
4e3af18
fix(macOS): Try to fix MacOS build by excluding CPATH env variable (#…
Mar 16, 2026
05a64d2
Merge tag 'v7.1.0-rc.1' into wasmer7
bragaigor Mar 16, 2026
c07845f
build(napi): add missing info for `cargo publish` + exclude large blo…
marxin Mar 17, 2026
7c1438f
feat: include enabled features in --version -v (#6312)
marxin Mar 17, 2026
e2010a9
fix(napi): Replace thread-locals with proper context passing
theduke Mar 16, 2026
eb646c1
fix(napi): Fix memory initialisation for threads
theduke Mar 16, 2026
2c3f476
fix(wasix): Fix inode caching for nested paths
theduke Mar 16, 2026
1c872dc
fix(napi): Fix host/guest buffer handling
theduke Mar 16, 2026
69fac1a
chore: fix clippy lints
theduke Mar 17, 2026
d03b963
fix(napi): Tighten buffer handling interop
theduke Mar 17, 2026
d95b99b
Additional fs fix
theduke Mar 17, 2026
643efcc
Update CHANGELOG
marxin Mar 17, 2026
30de9d1
Release 7.1.0-rc.2
marxin Mar 17, 2026
55efc26
Merge pull request #6314 from wasmerio/release-7.1.0-rc.2
marxin Mar 17, 2026
3f97cae
Merge tag 'v7.1.0-rc.2' into wasmer7
bragaigor Mar 18, 2026
d94cac1
Merge branch 'stylus' into wasmer7
joshuacolvin0 Mar 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
failure-output = "immediate-final"
# Do not cancel the test run on the first failure.
fail-fast = false
# Automatically mark a test as "slow" after 60 seconds, then kill it after 180s
slow-timeout = { period = "60s", terminate-after = 3 }
# Automatically mark a test as "slow" after 2 minutes, then kill it after 6 minutes.
# Note the Wasmer CLI integration tests tend to be slow on Windows, where Python package
# is built multiple times with the LLVM compiler.
slow-timeout = { period = "2m", terminate-after = 3 }
# Retry a couple times in case there are flaky tests
retries = 3
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ lib/compiler-cranelift @syrusakbary
lib/compiler-llvm
lib/compiler-singlepass @syrusakbary
lib/deprecated
lib/emscripten
lib/engine @syrusakbary
lib/engine-jit @syrusakbary
lib/engine-native @syrusakbary
Expand Down
16 changes: 16 additions & 0 deletions .github/actions/load_toolchain/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Load Rust Toolchain
description: Load Rust toolchain from rust-toolchain file
outputs:
rust_toolchain:
description: The loaded Rust toolchain
value: ${{ steps.load_toolchain.outputs.rust_toolchain }}
runs:
using: composite
steps:
- name: Load toolchain
id: load_toolchain
shell: sh
run: |
# TODO: Actually parse this from Cargo.toml
rust_toolchain=$(grep channel rust-toolchain.toml | cut -f2 -d'"')
echo "rust_toolchain=$rust_toolchain" >> $GITHUB_OUTPUT
50 changes: 50 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# GitHub Copilot Instructions

## Code Writing Standards
- Follow established code-writing standards for your language (spacing, comments, naming).
- Consider internal coding rules for folder and function naming.
- Follow the "boy scout rule": Always leave the codebase cleaner than you found it.

## Comment Usage
- Use comments sparingly and make them meaningful.
- Avoid commenting on obvious things; use comments to explain "why" or unusual behavior.

## Conditional Encapsulation
- Encapsulate nested if/else statements into functions with descriptive names for clarity.

## DRY Principle
- Avoid code duplication; reuse code via functions, classes, modules, or libraries.
- Modify code in one place if updates are needed.

## Function Length & Responsibility
- Write short, focused functions (single responsibility principle).
- Break up long or complex functions into smaller ones.

## General Code Style & Readability
- Write readable, understandable, and maintainable code.
- Prioritize clarity and adhere to coding standards.
- Regularly review and refactor code for structure and maintainability.
- Use version control (e.g., Git) for collaboration.

## Naming Conventions
- Use meaningful, descriptive names for variables, functions, and classes.
- Names should reflect purpose and behavior; avoid names that require comments to explain intent.

## Making your changes pass CI
- Before submitting any changes
- Run the commands for formatting
- Run the linter command shown below
- Run tests for code you changed and everything that depends on it.
- CI will reject code with formatting or linting issues.

## Useful commands:
- Format the code: `cargo fmt`
- Lint and fix common mistakes: `RUSTFLAGS="-D dead-code -D nonstandard-style -D unused-imports -D unused-mut -D unused-variables -D unused-unsafe -D unreachable-patterns -D bad-style -D improper-ctypes -D unused-allocation -D unused-comparisons -D while-true -D unconditional-recursion -D bare-trait-objects -D function_item_references -D clippy::uninlined_format_args " cargo clippy --all --exclude wasmer-swift --locked --fix --allow-dirty -- -D clippy::all`
- Build the cli: `cargo build -p wasmer-cli --features cranelift,llvm,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load`
- Test the cli: `cargo test -p wasmer-cli --features cranelift,llvm,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load`
- Test WASIX: `cargo test -p wasmer-wasix --features sys`
- Convert a wasm module to wat (always limit the output with head/grep/tail): `wasm-tools print file.wasm`
- Convert a wat module to wasm: `wasm-tools parse file.wat -o file.wasm`
- For really hard debugging, creduce is available
- Optimize a wasm module and strip debug info: `wasm-opt -O3 file.wasm -o file.opt.wasm`
- Compile a C file to a WASIX module: `WASIXCC_WASM_EXCEPTIONS=1 WASIXCC_PIC=1 wasixcc -g -O0 file.c -o file.wasm`
10 changes: 8 additions & 2 deletions .github/cross-linux-riscv64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt-get update && \
# install rust tools
RUN curl --proto "=https" --tlsv1.2 --retry 3 -sSfL https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup -v toolchain install 1.74
RUN rustup -v toolchain install 1.91
# add docker the manual way
COPY install_docker.sh /
RUN /install_docker.sh
Expand Down Expand Up @@ -61,10 +61,16 @@ ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc
RUST_TEST_THREADS=1 \
PKG_CONFIG_PATH="/usr/lib/riscv64-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH}"

RUN rustup target add riscv64gc-unknown-linux-gnu --toolchain 1.74-x86_64-unknown-linux-gnu
RUN rustup target add riscv64gc-unknown-linux-gnu --toolchain 1.91-x86_64-unknown-linux-gnu

# quickly install cargo nextest by using pre-built binary
RUN curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin

#compile libssl-dev for riscv64!
COPY build_openssl.sh /
RUN /build_openssl.sh
ENV RISCV64GC_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR=/openssl_riscv64/include
ENV RISCV64GC_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/openssl_riscv64/lib

RUN mkdir .cargo
COPY config.toml .cargo/config.toml
3 changes: 3 additions & 0 deletions .github/cross-linux-riscv64/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[target.riscv64gc-unknown-linux-gnu]
linker = "riscv64-linux-gnu-gcc"
runner = "qemu-riscv64 -L /usr/riscv64-linux-gnu/"
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test:
https://github.com/wasmerio/wasmer/blob/main/CONTRIBUTING.md#pull-requests
https://github.com/wasmerio/wasmer/blob/main/docs/CONTRIBUTING.md#pull-requests

-->

Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: Run Benchmarks and upload results
on:
push:
branches:
- benchmark # TODO: change it back to main once we really track the results. We commented this as speed.wasmer.io is failing
- benchmark # TODO: change it back to main once we really track the results. We commented this as speed.wasmer.io is failing

env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.74"

jobs:
run_benchmark:
Expand All @@ -20,15 +19,16 @@ jobs:
include:
- build: linux
os: ubuntu-latest
env:
SCCACHE_AZURE_BLOB_CONTAINER: wasmerstoragesccacheblob
SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.SCCACHE_AZURE_CONNECTION_STRING }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
submodules: true
- uses: ./.github/actions/load_toolchain
id: load_toolchain
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.MSRV }}
toolchain: ${{ steps.load_toolchain.outputs.rust_toolchain }}
- name: Configure cargo data directory
# After this point, all cargo registry and crate data is stored in
# $GITHUB_WORKSPACE/.cargo_home. This allows us to cache only the files
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Install LLVM (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
curl --proto '=https' --tlsv1.2 -sSf https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz -L -o llvm.tar.xz
curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" --retry 3 --proto '=https' --tlsv1.2 -sSf https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz -L -o llvm.tar.xz
mkdir -p /opt/llvm-10
tar xf llvm.tar.xz --strip-components=1 -C /opt/llvm-10
echo '/opt/llvm-10/bin' >> $GITHUB_PATH
Expand All @@ -72,4 +72,3 @@ jobs:
git clone https://github.com/wasmerio/wasmer-bench

python3 wasmer-bench/send_metrics.py

Loading
Loading