From 711d9023077ec1b6d6ba535cd5f9482e9d0d6139 Mon Sep 17 00:00:00 2001 From: kp2pml30 Date: Mon, 7 Sep 2026 18:27:00 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chore(third-party):=20adopt=20content-addre?= =?UTF-8?q?ssed=20patch=20names=20=F0=9F=9A=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch files were named by their position, so inserting one rewrote every name after it. They now carry a digest of their own bytes and the manifest holds the order; `config.json` becomes `manifest.json`, which is what that file has always been. --- .git-third-party/.gitattributes | 6 ++++++ .git-third-party/.gitignore | 5 +++++ .git-third-party/{config.json => manifest.json} | 9 +++++++-- .../third-party/wasm-tools/{1 => gk2m1xpfybm4kec2} | 0 .../third-party/wasmtime/{2 => 1rntcejzarfn1yww} | 0 .../third-party/wasmtime/{1 => 41ma00mnkw1fck5s} | 0 6 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .git-third-party/.gitattributes create mode 100644 .git-third-party/.gitignore rename .git-third-party/{config.json => manifest.json} (76%) rename .git-third-party/patches/executor/third-party/wasm-tools/{1 => gk2m1xpfybm4kec2} (100%) rename .git-third-party/patches/executor/third-party/wasmtime/{2 => 1rntcejzarfn1yww} (100%) rename .git-third-party/patches/executor/third-party/wasmtime/{1 => 41ma00mnkw1fck5s} (100%) diff --git a/.git-third-party/.gitattributes b/.git-third-party/.gitattributes new file mode 100644 index 00000000..afbc4add --- /dev/null +++ b/.git-third-party/.gitattributes @@ -0,0 +1,6 @@ +# Managed by git-third-party. + +# Patch names are a digest of the patch bytes: normalizing them changes what +# gets applied, and breaks the name. +patches/** -text +manifest.json text eol=lf diff --git a/.git-third-party/.gitignore b/.git-third-party/.gitignore new file mode 100644 index 00000000..9b33cbe9 --- /dev/null +++ b/.git-third-party/.gitignore @@ -0,0 +1,5 @@ +# Managed by git-third-party. + +# Scratch left behind by an interrupted write. +*.tmp +patches/**/*.tmp diff --git a/.git-third-party/config.json b/.git-third-party/manifest.json similarity index 76% rename from .git-third-party/config.json rename to .git-third-party/manifest.json index c3e65a7e..15675638 100644 --- a/.git-third-party/config.json +++ b/.git-third-party/manifest.json @@ -3,13 +3,18 @@ "executor/third-party/wasmtime": { "url": "https://github.com/bytecodealliance/wasmtime.git", "commit": "6844a83b530f86ad13a65175282fe2dbcd33cad1", - "patches": 2, + "patches": [ + "41ma00mnkw1fck5s", + "1rntcejzarfn1yww" + ], "submodules": [] }, "executor/third-party/wasm-tools": { "url": "https://github.com/bytecodealliance/wasm-tools.git", "commit": "76927bf4bdbddf4b15f835c5eddfffbdfe3bdbd5", - "patches": 1 + "patches": [ + "gk2m1xpfybm4kec2" + ] } } } diff --git a/.git-third-party/patches/executor/third-party/wasm-tools/1 b/.git-third-party/patches/executor/third-party/wasm-tools/gk2m1xpfybm4kec2 similarity index 100% rename from .git-third-party/patches/executor/third-party/wasm-tools/1 rename to .git-third-party/patches/executor/third-party/wasm-tools/gk2m1xpfybm4kec2 diff --git a/.git-third-party/patches/executor/third-party/wasmtime/2 b/.git-third-party/patches/executor/third-party/wasmtime/1rntcejzarfn1yww similarity index 100% rename from .git-third-party/patches/executor/third-party/wasmtime/2 rename to .git-third-party/patches/executor/third-party/wasmtime/1rntcejzarfn1yww diff --git a/.git-third-party/patches/executor/third-party/wasmtime/1 b/.git-third-party/patches/executor/third-party/wasmtime/41ma00mnkw1fck5s similarity index 100% rename from .git-third-party/patches/executor/third-party/wasmtime/1 rename to .git-third-party/patches/executor/third-party/wasmtime/41ma00mnkw1fck5s From bac7bb2af8928b5af403d195e75b6e1d4f882a7c Mon Sep 17 00:00:00 2001 From: kp2pml30 Date: Mon, 7 Sep 2026 20:39:00 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore(supervisor):=20drop=20the=20dead=20sa?= =?UTF-8?q?turating-float=20toggle=20=F0=9F=94=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- executor/src/rt/errors.rs | 2 +- executor/src/rt/supervisor/mod.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/executor/src/rt/errors.rs b/executor/src/rt/errors.rs index db56361a..5d162201 100644 --- a/executor/src/rt/errors.rs +++ b/executor/src/rt/errors.rs @@ -107,7 +107,7 @@ impl UnwrapDynError { /// independent of the wasm store and can be done even after it is consumed. pub fn extract_backtrace(err: &UnwrapDynError) -> Option { let Some(bt) = err.downcast_ref::() else { - log_warn!("no backtrace attached"); + log_debug!("no backtrace attached"); return None; }; diff --git a/executor/src/rt/supervisor/mod.rs b/executor/src/rt/supervisor/mod.rs index 6e9f34a1..99e88c5f 100644 --- a/executor/src/rt/supervisor/mod.rs +++ b/executor/src/rt/supervisor/mod.rs @@ -111,7 +111,6 @@ pub fn create_engines( .wasm_features(WasmFeatures::SIGN_EXTENSION, true) .wasm_features(WasmFeatures::MUTABLE_GLOBAL, true) .wasm_features(WasmFeatures::MULTI_VALUE, true) - .wasm_features(WasmFeatures::SATURATING_FLOAT_TO_INT, false) //.wasm_features(WasmFeatures::REFERENCE_TYPES, false) .wasm_features(WasmFeatures::SATURATING_FLOAT_TO_INT, true);