Skip to content

Commit e9a3a57

Browse files
authored
build(deps): update wasmtime requirement from >=22, <36 to >=22, <39 (#237)
Updates the requirements on [wasmtime](https://github.com/bytecodealliance/wasmtime) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bytecodealliance/wasmtime/releases">wasmtime's releases</a>.</em></p> <blockquote> <h2>v38.0.1</h2> <h2>38.0.1</h2> <p>Released 2025-10-20.</p> <h3>Fixed</h3> <ul> <li>Fixed some automation that went wrong with the 38.0.0 release.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/bytecodealliance/wasmtime/blob/v38.0.1/RELEASES.md">wasmtime's changelog</a>.</em></p> <blockquote> <h2>38.0.1</h2> <p>Released 2025-10-20.</p> <h3>Fixed</h3> <ul> <li>Fixed some automation that went wrong with the 38.0.0 release.</li> </ul> <hr /> <h2>38.0.0</h2> <p>Released 2025-10-20.</p> <h3>Added</h3> <ul> <li> <p>A number of new Cranelift peephole ISLE optimizations have been added. <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11637">#11637</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11638">#11638</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11640">#11640</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11641">#11641</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11642">#11642</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11647">#11647</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11648">#11648</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11663">#11663</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11680">#11680</a> <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11681">#11681</a></p> </li> <li> <p>Cranelift's &quot;fastalloc&quot;, or Wasmtime's <code>SinglePass</code> register allocation option, now works again. <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11712">#11712</a></p> </li> <li> <p>CLIF now supports bitwise operations on 64-bit vector types. <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11708">#11708</a></p> </li> <li> <p>The <code>wasmtime run</code> subcommand now support WASIp3 HTTP interfaces via <code>-Sp3,http</code>. <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11741">#11741</a></p> </li> <li> <p>Cranelift's x64 and aarch64 backends now have specialized lowering rules for loads/stores from stack slots. <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11727">#11727</a></p> </li> <li> <p>Wasmtime supports converting a <code>StreamReader</code>, optionally, back into the original host representation to have specialized routines if the stream is from the host and not a guest. <a href="https://redirect.github.com/bytecodealliance/wasmtime/pull/11763">#11763</a></p> </li> </ul> <h3>Changed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/f2140f661e572127c7eebb10a0ef89fe94990206"><code>f2140f6</code></a> Release Wasmtime 38.0.1 (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11888">#11888</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/399f857f28ee8845d0cfd4ec71680912b5375831"><code>399f857</code></a> Release Wasmtime 38.0.0 (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11886">#11886</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/8dd2c7579d687d5f07b2d9219617d3f7ca5e0296"><code>8dd2c75</code></a> Add release notes (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11819">#11819</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/2d9bd17634150791772b10c3f9c5ba4561d8b674"><code>2d9bd17</code></a> Fix externref/anyref ownership in C/C++ API (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11799">#11799</a>) (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11803">#11803</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/3a136421d433a4951f1164c97a27db5e6b5f0f02"><code>3a13642</code></a> asm: add <code>num_registers_available()</code> (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11714">#11714</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/c3b1004ed0590c92cc9b72eb8fe5a26fd88b3d70"><code>c3b1004</code></a> Add a link to Wasefire in Wasmtime's documentation (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11788">#11788</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/5199b1c9b836d88bcd36ce2472a38f21b6ceea97"><code>5199b1c</code></a> wasmtime-unwinder: factor out <code>visit_frames</code> inner loop to an iterator. (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11783">#11783</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/ea133c32a582ef7689f08f136d08ef65215225a8"><code>ea133c3</code></a> CI: Add SDE (emulator) to CI (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11777">#11777</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/8211252677d8998f7f8d94d0af163cdedd61afd6"><code>8211252</code></a> CI: attempt to upgrade Mac OS X deployment target to 10.12. (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11787">#11787</a>)</li> <li><a href="https://github.com/bytecodealliance/wasmtime/commit/f0cd9b674b7f9f71e6e8edab9f2e1bfb5c12808e"><code>f0cd9b6</code></a> More s/darwin/apple/ in CMakeLists.txt (<a href="https://redirect.github.com/bytecodealliance/wasmtime/issues/11786">#11786</a>)</li> <li>Additional commits viewable in <a href="https://github.com/bytecodealliance/wasmtime/compare/v22.0.0...v38.0.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents 5e8cb57 + 96c2098 commit e9a3a57

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ serde_json = "1.0.18" # This is the earliest version which supports 128-bit inte
1616
thiserror = ">=1, <3"
1717
tokio = { version = "1.5", features = ["sync", "macros"] }
1818
tracing = "0.1.27"
19-
wasmtime = { version = ">=22, <36", default-features = false, features = [
19+
wasmtime = { version = ">=22, <39", default-features = false, features = [
2020
"async",
2121
] }
2222

@@ -65,7 +65,7 @@ version = "1.5"
6565
features = ["macros", "fs", "rt", "rt-multi-thread"]
6666

6767
[dev-dependencies]
68-
wasmtime = { version = ">=22, <36", default-features = false, features = [
68+
wasmtime = { version = ">=22, <39", default-features = false, features = [
6969
"cranelift",
7070
] }
7171
insta = { version = "1", features = ["yaml"] }

src/builtins/impls/semver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use std::cmp::Ordering;
1919
use anyhow::Result;
2020
use semver::Version;
2121

22-
/// Compares valid SemVer formatted version strings.
22+
/// Compares valid `SemVer` formatted version strings.
2323
#[tracing::instrument(name = "semver.compare", err)]
2424
pub fn compare(a: String, b: String) -> Result<i8> {
2525
let a = Version::parse(&a)?;
@@ -31,7 +31,7 @@ pub fn compare(a: String, b: String) -> Result<i8> {
3131
}
3232
}
3333

34-
/// Validates that the input is a valid SemVer string.
34+
/// Validates that the input is a valid `SemVer` string.
3535
#[tracing::instrument(name = "semver.is_valid")]
3636
pub fn is_valid(vsn: String) -> bool {
3737
Version::parse(&vsn).is_ok()

src/builtins/impls/time.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl TimestampWithOptionalTimezone {
4242
Self::TimestampAndTimezone(ts, tz) => (
4343
ts,
4444
tz.parse()
45-
.map_err(|e| anyhow!("Could not parse timezone: {}", e))?,
45+
.map_err(|e| anyhow!("Could not parse timezone: {e}"))?,
4646
),
4747
};
4848

@@ -100,7 +100,7 @@ pub fn now_ns<C: EvaluationContext>(ctx: &mut C) -> Result<i64> {
100100
#[tracing::instrument(name = "time.parse_duration_ns", err)]
101101
pub fn parse_duration_ns(duration: String) -> Result<u128> {
102102
Ok(duration_str::parse(duration.as_str())
103-
.map_err(|e| anyhow!("{}", e))?
103+
.map_err(|e| anyhow!("{e}"))?
104104
.as_nanos())
105105
}
106106

src/builtins/impls/uuid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! Builtins to generate UUIDs
1616
use anyhow::{bail, Result};
1717

18-
/// Returns a new UUIDv4.
18+
/// Returns a new `UUIDv4`.
1919
#[tracing::instrument(name = "uuid.rfc4122", err)]
2020
pub fn rfc4122(k: String) -> Result<String> {
2121
// note: the semantics required here is to generate a UUID that is similar *for

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl AbiVersion {
191191
(1, 1) => Ok(Self::V1_1),
192192
(1, 2) => Ok(Self::V1_2),
193193
(1, n @ 2..) => Ok(Self::V1_2Plus(n)),
194-
(major, minor) => bail!("unsupported ABI version {}.{}", major, minor),
194+
(major, minor) => bail!("unsupported ABI version {major}.{minor}"),
195195
}
196196
}
197197

0 commit comments

Comments
 (0)