Skip to content

Commit

Permalink
Update to wasmtime 26 (#850)
Browse files Browse the repository at this point in the history
This updates our wasmtime dependency to version 26.
  • Loading branch information
CryZe authored Nov 4, 2024
1 parent c7e98f8 commit d848fb7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ base64-simd = { version = "0.8.0", default-features = false, features = [
"alloc",
] }
bytemuck = { version = "1.9.1", default-features = false }
bytemuck_derive = { version = "1.4.1", default_features = false }
bytemuck_derive = { version = "1.4.1", default-features = false }
cfg-if = "1.0.0"
itoa = { version = "1.0.3", default-features = false }
time = { version = "0.3.36", default-features = false }
Expand All @@ -51,7 +51,7 @@ simdutf8 = { git = "https://github.com/CryZe/simdutf8", branch = "wasm-ub-panic"
"aarch64_neon",
] }
serde = { version = "1.0.186", default-features = false, features = ["alloc"] }
serde_derive = { version = "1.0.186", default_features = false }
serde_derive = { version = "1.0.186", default-features = false }
serde_json = { version = "1.0.60", default-features = false, features = [
"alloc",
] }
Expand Down
6 changes: 3 additions & 3 deletions crates/livesplit-auto-splitting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bstr = "1.10.0"
bytemuck = { version = "1.14.0", features = ["min_const_generics"] }
bytes = "1.6.1"
indexmap = "2.0.2"
proc-maps = { version = "0.3.0", default-features = false }
proc-maps = { version = "0.4.0", default-features = false }
read-process-memory = { version = "0.1.4", default-features = false }
slotmap = { version = "1.0.2", default-features = false }
snafu = "0.8.0"
Expand All @@ -27,13 +27,13 @@ sysinfo = { version = "0.32.0", default-features = false, features = [
"system",
] }
time = { version = "0.3.3", default-features = false }
wasmtime = { version = "25.0.1", default-features = false, features = [
wasmtime = { version = "26.0.0", default-features = false, features = [
"cranelift",
"gc",
"parallel-compilation",
"runtime",
] }
wasmtime-wasi = { version = "25.0.1", default-features = false, features = [
wasmtime-wasi = { version = "26.0.0", default-features = false, features = [
"preview1",
] }

Expand Down
2 changes: 1 addition & 1 deletion src/rendering/font/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl<L> CachedLabel<L> {
.as_ref()
.zip(max_width)
.zip(self.max_width)
.map_or(true, |((l, max_width), old_max_width)| {
.is_none_or(|((l, max_width), old_max_width)| {
// If both the current and old max width fall outside the
// range where the label would need to use ellipsis, then we
// can consider the label to not be dirty.
Expand Down

0 comments on commit d848fb7

Please sign in to comment.