Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
e57afb7
Do proper subtype checking for imported globals during instantiation …
fitzgen Feb 27, 2025
8140016
pulley: Fix a panic compiling with debug info (#10305)
alexcrichton Feb 27, 2025
3e0393c
Improve rebuild detection of test-programs (#10303)
alexcrichton Feb 27, 2025
0031937
Add a missing `apt-get update` before install (#10310)
alexcrichton Feb 28, 2025
6e221e7
wasmtime-wit-bindgen: gen is a reserved keyword in the lexer starting…
pchickey Feb 28, 2025
37a3262
Test natively on AArch64, not emulated (#10306)
alexcrichton Feb 28, 2025
1e5d77d
chore: fix some typos in comments (#10309)
shenpengfeng Feb 28, 2025
c273281
Rename `VMRuntimeLimits` to `VMStoreContext` (#10307)
fitzgen Feb 28, 2025
af31e80
wasmtime-wit-bindgen: emit a definition for all types in a wit interf…
pchickey Feb 28, 2025
e33c426
asm: sse orpd implementation (#10273)
rahulchaphalkar Mar 1, 2025
4832c82
Winch: Fix consts and multivalue returns (#10315)
jeffcharles Mar 3, 2025
b2f0299
fixed broken link (#10318)
ifsheldon Mar 3, 2025
1136192
chore: fix parenthesis balance (#10317)
bongjunj Mar 3, 2025
d463cf4
winch(aarch64): ABI integration (#10312)
saulecabrera Mar 3, 2025
575e5a6
Use `alloc_zeroed` to allocate dynamic table elements (#10313)
fitzgen Mar 3, 2025
469479a
x64: use Rust types for assembler immediates (#10302)
abrown Mar 3, 2025
6336065
Update ir.md (#10319)
owenzimmew06 Mar 3, 2025
132a490
Expose GC refs to Wasm in `gc_alloc_raw` libcall (#10322)
fitzgen Mar 4, 2025
6d028ab
Bump Wasmtime to 32.0.0 (#10330)
wasmtime-publish Mar 5, 2025
812dd1e
add component-model-async/{fused|futures|streams}.wast tests (#10106)
dicej Mar 5, 2025
b8e3fbe
Update wasm-tools to the latest revision (#10314)
alexcrichton Mar 5, 2025
e929b63
Ignore fuzzing `testcase0.wasm` et al in `.gitignore` (#10341)
fitzgen Mar 6, 2025
c56ff13
Winch: Fix extadd implementations (#10337)
jeffcharles Mar 6, 2025
9ed0b18
link-Update abi.rs (#10342)
Hack666r Mar 6, 2025
716ebce
Remove Function argument from define_function_bytes (#10346)
bjorn3 Mar 6, 2025
99efc20
Add Engine/Component::deserialize_raw (#10321)
posborne Mar 6, 2025
27de1e0
Remove hotswapping support from cranelift-jit (#10345)
bjorn3 Mar 6, 2025
a2975d7
[DWARF] Basic infrastructure for compiling test assets from source (#…
SingleAccretion Mar 6, 2025
ddaaed6
asm: SSE ALU Instructions (#10316)
rahulchaphalkar Mar 6, 2025
f9c4ec1
Wasm GC: Unify supported alignment and minimum block size in `FreeLis…
fitzgen Mar 6, 2025
4d87637
Add "pure" flag to `ir::MemFlags` (#10340)
fitzgen Mar 6, 2025
3ce6fb2
chore: Update wit-bindgen to 0.40.0 (#10350)
jsturtevant Mar 6, 2025
c3bf042
meta: deduplicate source generation infrastructure (#10348)
abrown Mar 7, 2025
d8f1f60
Run `cargo vet prune` (#10351)
abrown Mar 7, 2025
665c098
chore: remove redundant words in comment (#10354)
NinaLua Mar 7, 2025
e8d5e3a
Initial implementation of Wasi-tls (Transport Layer Security) (#10249)
jsturtevant Mar 7, 2025
bce7f20
meta: move all ISLE-related generated code to `cranelift-codegen-meta…
abrown Mar 8, 2025
65f12ea
Move `assembler.isle` to "untracked inputs" (#10365)
alexcrichton Mar 10, 2025
92af690
Derive serde on EntitySet when feature is enabled (#10368)
djmarcin Mar 10, 2025
61feceb
Remove `paste` dependency from Wasmtime (#10358)
alexcrichton Mar 10, 2025
c21353b
Modernize architecture documentation on linear memory (#10364)
alexcrichton Mar 10, 2025
5e56600
Stack switching: Remove stack_chain field from VMContext (#10355)
frank-emrich Mar 11, 2025
8357599
Enable async support in wast tests (#10366)
alexcrichton Mar 11, 2025
696726f
Fix an issue with DRC collector's barriers and `(extern.convert_any (…
fitzgen Mar 11, 2025
548e15a
feat: Add hexadecimal integer parsing in CLI arguments (#10360)
VolodymyrBg Mar 11, 2025
0038ce0
Perform `(ref null none)` loads that can trap (#10372)
fitzgen Mar 11, 2025
e902e16
Make `GcStore::expose_gc_ref_to_wasm` return the raw GC ref (#10375)
fitzgen Mar 12, 2025
956ca00
`AnyRef::from_raw` needs to clone its GC ref (#10374)
fitzgen Mar 12, 2025
bda8312
Remove humantime crate dependency (#10379)
alexcrichton Mar 12, 2025
c7cbdf0
chore: fix some typos in comments (#10380)
kevincatty Mar 12, 2025
944ae82
Winch: Fix issue with multivalue returns (#10370)
jeffcharles Mar 12, 2025
ba1e663
aarch64: Fix an overflowing shift panic (#10382)
alexcrichton Mar 12, 2025
2c615b2
Remove some now-unnecessary `allow(clippy)` lints (#10383)
alexcrichton Mar 12, 2025
840f544
Consolidate some fuzzers into one (#10385)
alexcrichton Mar 12, 2025
5b9e876
Enable the GC proposal during general fuzzing (#10332)
fitzgen Mar 12, 2025
e9adb89
wasi-tls: Add a second endpoint to make the test less flakey (#10377)
jsturtevant Mar 12, 2025
c3aa6a5
Change `allow(missing_docs)` to `expect(..)` (#10384)
alexcrichton Mar 12, 2025
4e8dc9d
Don't pad .text to page size for pulley (#10285)
posborne Mar 12, 2025
ad21d95
Don’t panic when http `handle` function returns before invoking `set`…
primoly Mar 12, 2025
9da52ed
Update Wasmi fuzzing oracle to v0.42 (#10386)
Robbepop Mar 12, 2025
a0aab0d
Winch: Fix issue with floats and replace_lane (#10393)
jeffcharles Mar 13, 2025
2af0a1f
Introduce log2_min_function_alignment flag (#10391)
bjorn3 Mar 13, 2025
a3381e4
Add graceful shutdown to `wasmtime serve`, fix flaky CI (#10394)
alexcrichton Mar 13, 2025
c8f0787
Update mod.rs (#10395)
dyxushuai Mar 14, 2025
6ad0840
asm: allow printing of virtual registers (#10389)
abrown Mar 14, 2025
1615521
Correctly document `cranelift_opt_level`'s default (#10402)
alexcrichton Mar 14, 2025
1ea710d
asm: fuzz `cranelift-codegen-x64` in the `misc` target (#10403)
abrown Mar 14, 2025
0d022c6
Remove testing ONNX from CI (#10411)
alexcrichton Mar 17, 2025
1104a83
Cranelift: avoid integer-shift optimization with invalid reduces on v…
cfallin Mar 17, 2025
b3c68f6
Update docs of `wasmtime-environ` crate (#10412)
alexcrichton Mar 17, 2025
fc5fc67
Add some more context to the CLIF verifier (#10410)
fitzgen Mar 17, 2025
d2c9d2a
[DWARF] Fix the loclist to exprloc optimization (#10400)
SingleAccretion Mar 17, 2025
406d00b
Report allocation requests that will always fail as traps (#10416)
fitzgen Mar 17, 2025
0a29578
Transitively dec-ref objects in the DRC collector (#10401)
fitzgen Mar 18, 2025
ac03075
x64: fix misaligned load fault with sunk load when AVX is disabled (#…
abrown Mar 18, 2025
ead1c74
Disable wide-arithmetic fuzzing in wasmi (#10419)
alexcrichton Mar 18, 2025
9684671
Update Nightly Rust used on CI (#10420)
alexcrichton Mar 19, 2025
620db8b
Vendor wasi-tls wits (#10392)
badeend Mar 19, 2025
953adee
Rename `wasi` crate to `wasip1` in test-programs (#10426)
alexcrichton Mar 19, 2025
8e88342
Update some dependencies on their major version tracks (#10425)
alexcrichton Mar 20, 2025
ca7081a
Consolidate "util" crates for testing (#10423)
alexcrichton Mar 20, 2025
2b9da02
wasi-nn: improve example documentation (#10432)
abrown Mar 20, 2025
b927a77
Update wasmi in fuzzing, re-enable wide-arithmetic (#10430)
alexcrichton Mar 20, 2025
4a729d7
Improve debug logging for `instantiate_many` fuzz target (#10433)
fitzgen Mar 20, 2025
9838876
Remove support for is_pic (#10390)
bjorn3 Mar 20, 2025
dfaba60
Make `RegisteredType::root` panic when given bad type indices (#10434)
fitzgen Mar 20, 2025
3e406d2
Add a `wasmtime objdump` subcommand (#10405)
alexcrichton Mar 20, 2025
452086f
Store stack maps in an ELF section (#10404)
alexcrichton Mar 20, 2025
5256c6b
Fix a bug with rec groups in the types registry (#10435)
fitzgen Mar 20, 2025
45810e5
Add some infrastructure for keeping old CI working (#10438)
alexcrichton Mar 20, 2025
5b07689
Add `--stack-maps` to `wasmtime objdump` (#10439)
alexcrichton Mar 20, 2025
cb7d881
Use a `clap` helper to reduce parsing in `objdump` (#10440)
alexcrichton Mar 20, 2025
0ca6d4f
Expose Wasi-TLS handshake error (#10429)
badeend Mar 21, 2025
eab0a9d
Update release branch CI to trigger manually (#10445)
alexcrichton Mar 21, 2025
4abef51
Pin some more CI build images (#10452)
alexcrichton Mar 21, 2025
04eee21
Fix a bug where arrays of GC refs were misreporting their count of GC…
fitzgen Mar 21, 2025
23c8db6
x64: Add a special case for i128-addition (#10457)
alexcrichton Mar 21, 2025
b2e585c
Avoid some unnecessary reduces and extends around GC libcalls (#10458)
fitzgen Mar 21, 2025
2a6d655
Fix needs-stack-map propagation for variables' SSA block params (#10456)
fitzgen Mar 24, 2025
6a8d3d5
asm: notate instruction alignment, SSE feature flags (#10446)
abrown Mar 24, 2025
00a1780
Remove some unnecessary `UnsafeCell`s in GC code (#10461)
fitzgen Mar 24, 2025
3f53021
Generalize `VMGcObjectDataMut` for immutable GC object accesses too (…
fitzgen Mar 25, 2025
4bb6783
chore: remove redundant words in comment (#10465)
threehonor Mar 25, 2025
efb4e4c
Cranelift: tweak the ISLE-source-dir build script functionality. (#10…
cfallin Mar 25, 2025
79f9e06
Tiny improvements for `cranelift_entity::EntitySet` (#10469)
fitzgen Mar 25, 2025
bf9273a
`cranelift-frontend`: Propagate needs-stack-map from variables to val…
fitzgen Mar 25, 2025
eafe743
Do not reorder/pack struct fields (#10463)
fitzgen Mar 25, 2025
5eef20e
Fix computation of fill size in `array.fill` implementation (#10470)
fitzgen Mar 26, 2025
82c0a09
Simplify aegraphs by removing union-find and canonical eclass IDs. (#…
cfallin Mar 26, 2025
c4486c2
Small clean ups for `FuncEnvironment` and GC-related code (#10472)
fitzgen Mar 26, 2025
865d1bb
Fix some `unreachable!()` with wasm components (#10473)
alexcrichton Mar 26, 2025
79b09fa
asm: improve error output for fuzzer (#10474)
abrown Mar 26, 2025
7e5a7e5
asm: improve DSL's understanding of prefixes (#10475)
abrown Mar 27, 2025
d64a02c
Override component model `Lower::store_list` and `Lift::load_list` fo…
kaivol Mar 27, 2025
09fc475
asm: fix trace logging again (#10478)
abrown Mar 28, 2025
c68dbc2
Update Wasmi to v0.43.0 and enable its `simd` feature (#10480)
Robbepop Mar 28, 2025
a968b7d
asm: add `LOCK`-prefixed instructions (#10477)
abrown Mar 28, 2025
3468026
ISLE opts for `x ± a == y ± b` (#10489)
scottmcm Mar 30, 2025
9547f2f
Update mod.rs (#10492)
Hopium21 Mar 31, 2025
42bb677
Improve errors with pooling-by-default `serve` command (#10483)
alexcrichton Mar 31, 2025
ae69c92
Allow setting pooling allocation in the C API (#10484)
fridaymore Mar 31, 2025
2de55cc
Add documentation for Wasmtime's LTS releases (#10481)
alexcrichton Mar 31, 2025
44e4919
Cranelift: remove block params on critical-edge blocks. (#10485)
cfallin Mar 31, 2025
6392f56
x64: remove `AluRM` (#10494)
abrown Mar 31, 2025
b727aa1
Move `StoreContextMut::on_fiber` to `StoreOpaque::on_fiber` (#10496)
fitzgen Mar 31, 2025
01810c5
Don't allocate on the heap for empty bit sets (#10495)
alexcrichton Mar 31, 2025
b152712
wasi-nn: Make Tensor properties public allowing external Engines to e…
rbackhouse Mar 31, 2025
8385bea
Adjust hints about using `WASMTIME_BACKTRACE_DETAILS` (#10498)
alexcrichton Mar 31, 2025
d8360be
wasmtime-environ: add initial table support (#10497)
abrown Mar 31, 2025
238ec90
Improve table support for components (#10499)
abrown Apr 1, 2025
be00f1d
Cranelift: update to regalloc2 v0.11.2. (#10504)
cfallin Apr 1, 2025
b91f504
Test the full error context in fuzzing (#10505)
alexcrichton Apr 1, 2025
0a18000
Rename `VMTableImport` to `VMTable` (#10506)
abrown Apr 2, 2025
df4cb6e
Expose default value constructors for Wasm types in host API (#10500)
Gonzalosilvalde Apr 2, 2025
4ca5ea6
Fix a few stray references to "runtime limits" (#10509)
fitzgen Apr 2, 2025
c7e092d
Update wasm-tools crates to 1.228.0 (#10501)
abrown Apr 2, 2025
a4700cb
Analyze whether a module requires a GC heap during its compilation (#…
fitzgen Apr 2, 2025
c3177fc
Guest Profiling suport for component model (#10507)
posborne Apr 2, 2025
d141c99
winch: Fix stack parameter alginment (#10513)
saulecabrera Apr 2, 2025
5ae33b4
winch(x64): Remove stale comment in Winch CC (#10514)
saulecabrera Apr 2, 2025
b98f75a
Bump MSRV to 1.84.0 (#10520)
alexcrichton Apr 3, 2025
6f6e641
Update `prettyplease` dependency (#10522)
alexcrichton Apr 4, 2025
58ad911
Update how traps are rendered (#10523)
alexcrichton Apr 4, 2025
94f1ffd
Merge remote-tracking branch 'upstream/main'
alexcrichton Apr 4, 2025
fe93923
Update some tests
alexcrichton Apr 4, 2025
205f447
More fixing tests
alexcrichton Apr 4, 2025
f473ad0
Reset to upstream Cargo.lock
alexcrichton Apr 4, 2025
f984ead
Delta from upstream cargo.lock
alexcrichton Apr 4, 2025
cef4ffc
Get fuzz tests compiling
alexcrichton Apr 4, 2025
efca1b9
Less gates
alexcrichton Apr 4, 2025
7b9fa15
Fix guard range handling (I think)
alexcrichton Apr 4, 2025
a571cda
Fix an impl block
alexcrichton Apr 4, 2025
8f250ea
Fix another compile issue
alexcrichton Apr 4, 2025
dcc0d02
Update test expectations
alexcrichton Apr 4, 2025
965d487
Re-vendor wits
alexcrichton Apr 4, 2025
5f766cc
Fix testing cranelift-object in isolation
alexcrichton Apr 4, 2025
e2511e4
Fix some async tests
alexcrichton Apr 4, 2025
e1ed371
Fix test-programs build
alexcrichton Apr 4, 2025
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/actions/install-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
elif [ "${{ inputs.toolchain }}" = "msrv" ]; then
echo "version=1.$msrv.0" >> "$GITHUB_OUTPUT"
elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-pinned-nightly" ]; then
echo "version=nightly-2025-02-20" >> "$GITHUB_OUTPUT"
echo "version=nightly-2025-04-03" >> "$GITHUB_OUTPUT"
else
echo "version=${{ inputs.toolchain }}" >> "$GITHUB_OUTPUT"
fi
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/ci-cron-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: "Cron triggers for CI"
on:
schedule:
# “At 02:34 on Monday.”
#
# https://crontab.guru/#34_2_*_*_1
#
# This is used to perform a weekly run of CI for all release branches,
# ideally in off-work-hours to not clog up the queue.
- cron: '34 2 * * 1'

# "At 02:34 on Sunday and every day-of-week from Tuesday through Saturday"
#
# https://crontab.guru/#34_2_*_*_0,2-6
#
# This is used to perform a daily run of CI for the `main` branch to prime
# caches for github actions and the merge queue. Note that this frequency
# doesn't overlap the above schedule to avoid triggering two builds on the
# same day.
- cron: '34 2 * * 0,2-6'

# Allow manually triggering this request via a button
workflow_dispatch:

permissions:
issues: write
actions: write

jobs:
run:
if: "github.repository == 'bytecodealliance/wasmtime' || !github.event.schedule"
name: Trigger release branch CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

# Always trigger a CI run on the `main` branch to prime GHA caches.
- run: gh workflow run main.yml --ref main
name: Trigger main branch CI daily
env:
GH_TOKEN: ${{ github.token }}

# If this is a once-a-week run then additionally trigger CI for release
# branches to ensure that the CI there is kept up-to-date.
- run: rustc ci/trigger-release-branch-ci.rs
- run: ./trigger-release-branch-ci
name: Trigger release branch CI weekly
env:
GH_TOKEN: ${{ github.token }}
if: "github.event.schedule == '34 2 * * 1' || !github.event.schedule"
56 changes: 46 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ on:
- main
- 'release-*'

# Run full CI on the `main` branch once a day to prime the GitHub Actions
# caches used by PRs and the merge queue.
schedule:
- cron: '13 4 * * *'

# This is the CI that runs for PRs-to-merge.
merge_group:

Expand All @@ -26,6 +21,9 @@ on:
# uploads as well as publication to crates.io.
- 'release-*'

# Allow manually triggering this request via a button or another workflow.
workflow_dispatch:

defaults:
run:
shell: bash
Expand Down Expand Up @@ -393,6 +391,7 @@ jobs:
-p wasmtime-cli --no-default-features --features compile
-p wasmtime-cli --no-default-features --features compile,cranelift
-p wasmtime-cli --no-default-features --features compile,cranelift,component-model
-p wasmtime-cli --no-default-features --features objdump
-p wasmtime-cli --all-features
-p wasmtime-cli --features component-model

Expand All @@ -401,6 +400,11 @@ jobs:
-p cranelift-codegen --benches
-p cranelift-codegen --no-default-features --features std,unwind,pulley

- name: cranelift-entity
checks: |
-p cranelift-entity --no-default-features
-p cranelift-entity --no-default-features --features enable-serde

- name: wasmtime-bench-api
checks: |
-p wasmtime-bench-api
Expand Down Expand Up @@ -650,7 +654,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-24.04, macos-14, windows-2025]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -808,10 +812,10 @@ jobs:
test_wasi_nn:
strategy:
matrix:
feature: ["openvino", "onnx"]
os: ["ubuntu-latest", "windows-latest"]
feature: ["openvino"]
os: ["ubuntu-24.04", "windows-2025"]
include:
- os: windows-latest
- os: windows-2025
feature: winml
name: Test wasi-nn (${{ matrix.feature }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -879,7 +883,12 @@ jobs:
with:
submodules: true
- uses: ./.github/actions/install-rust
- run: rustup target add wasm32-wasip1 wasm32-unknown-unknown
- run: |
rustup target add wasm32-wasip1 wasm32-unknown-unknown
cd /tmp
curl -OL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-24/wasi-sdk-24.0-x86_64-linux.tar.gz
tar -xzf wasi-sdk-24.0-x86_64-linux.tar.gz
mv wasi-sdk-24.0-x86_64-linux wasi-sdk
- run: |
sudo apt-get update && sudo apt-get install -y gdb lldb-15 llvm
# workaround for https://bugs.launchpad.net/ubuntu/+source/llvm-defaults/+bug/1972855
Expand All @@ -889,6 +898,7 @@ jobs:
cargo test --release --test all -- --ignored --test-threads 1 debug::
env:
LLDB: lldb-15 # override default version, 14
WASI_SDK_PATH: /tmp/wasi-sdk

# common logic to cancel the entire run if this job fails
- uses: ./.github/actions/cancel-on-failure
Expand Down Expand Up @@ -1262,3 +1272,29 @@ jobs:
}
EOF
if: steps.tag.outputs.push_tag == 'yes'

# File an issue on the repo if this run failed and was triggered via
# `workflow_dispatch`, which mostly means that
# `.github/workflows/trigger-release-branch-ci.yml` will file issues on
# failure so we get to see a notification when a build fails for a historical
# release branch.
file-issue-on-error:
name: File an issue if this build failed and was cron-triggered
runs-on: ubuntu-latest
needs: ci-status
if: |
always()
&& needs.ci-status.result != 'success'
&& github.event_name == 'workflow_dispatch'
permissions:
issues: write
steps:
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `Failed CI build for ${context.ref}`,
body: `See https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`,
})
Loading
Loading