Skip to content

Commit 2bdfb25

Browse files
committed
Merge remote-tracking branch 'upstream/main' into stack-switching-cranelift
2 parents cae4878 + aec935f commit 2bdfb25

364 files changed

Lines changed: 14962 additions & 6088 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ jobs:
327327
-p wasmtime --no-default-features --features pooling-allocator
328328
-p wasmtime --no-default-features --features cranelift
329329
-p wasmtime --no-default-features --features component-model
330+
-p wasmtime --no-default-features --features component-model-async
330331
-p wasmtime --no-default-features --features runtime,component-model
331332
-p wasmtime --no-default-features --features cranelift,wat,async,std,cache
332333
-p wasmtime --no-default-features --features winch

Cargo.lock

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RELEASES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ Unreleased.
66

77
### Changed
88

9+
### Fixed
10+
11+
* Fix a panic in the host caused by preview1 guests using `fd_renumber`.
12+
[CVE-2025-53901](https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-fm79-3f68-h2fc).
13+
14+
* Fix a panic in the preview1 adapter caused by guests using `fd_renumber`.
15+
[#11277](https://github.com/bytecodealliance/wasmtime/pull/11277)
16+
917
--------------------------------------------------------------------------------
1018

1119
Release notes for previous releases of Wasmtime can be found on the respective

ci/vendor-wit.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ make_vendor() {
1919
mkdir -p $path
2020

2121
for package in $packages; do
22-
IFS='@' read -r repo tag <<< "$package"
23-
mkdir -p $path/$repo
22+
IFS='@' read -r repo tag subdir <<< "$package"
23+
mkdir -p "$path/$repo"
2424
cached_extracted_dir="$cache_dir/$repo-$tag"
2525

2626
if [[ ! -d $cached_extracted_dir ]]; then
2727
mkdir -p $cached_extracted_dir
2828
curl -sL https://github.com/WebAssembly/wasi-$repo/archive/$tag.tar.gz | \
2929
tar xzf - --strip-components=1 -C $cached_extracted_dir
30-
rm -rf $cached_extracted_dir/wit/deps*
30+
rm -rf $cached_extracted_dir/${subdir:-"wit"}/deps*
3131
fi
3232

33-
cp -r $cached_extracted_dir/wit/* $path/$repo
33+
cp -r $cached_extracted_dir/${subdir:-"wit"}/* $path/$repo
3434
done
3535
}
3636

@@ -68,6 +68,14 @@ make_vendor "wasi-config" "config@f4d699b"
6868

6969
make_vendor "wasi-keyvalue" "keyvalue@219ea36"
7070

71+
make_vendor "wasi/src/p3" "
72+
cli@939bd6d@wit-0.3.0-draft
73+
clocks@13d1c82@wit-0.3.0-draft
74+
filesystem@e2a2ddc@wit-0.3.0-draft
75+
random@4e94663@wit-0.3.0-draft
76+
sockets@bb247e2@wit-0.3.0-draft
77+
"
78+
7179
rm -rf $cache_dir
7280

7381
# Separately (for now), vendor the `wasi-nn` WIT files since their retrieval is

cranelift/assembler-x64/meta/src/dsl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ pub mod format;
1111

1212
pub use custom::{Custom, Customization};
1313
pub use encoding::{Encoding, ModRmKind, OpcodeMod};
14+
pub use encoding::{Evex, Length, Vex, VexEscape, VexPrefix, evex, vex};
1415
pub use encoding::{
15-
Group1Prefix, Group2Prefix, Group3Prefix, Group4Prefix, Opcodes, Prefixes, Rex, rex,
16+
Group1Prefix, Group2Prefix, Group3Prefix, Group4Prefix, Opcodes, Prefixes, Rex, TupleType, rex,
1617
};
17-
pub use encoding::{Vex, VexEscape, VexLength, VexPrefix, vex};
1818
pub use features::{ALL_FEATURES, Feature, Features};
1919
pub use format::{Eflags, Extension, Format, Location, Mutability, Operand, OperandKind, RegClass};
2020
pub use format::{align, fmt, implicit, r, rw, sxl, sxq, sxw, w};

0 commit comments

Comments
 (0)