Skip to content

Commit 2d50cd0

Browse files
authored
fix #2180 : pin home and wabt versions for Rust 1.85 compatibility (#2196)
# Summary This PR fixes #2180 aka the extension tests that were failing due to dependency incompatibility with Rust 1.85. ## Problem The extension tests in `libsql-sqlite3/test/rust_suite` were failing because: The `home` crate version 0.5.12 requires Rust 1.88, but the project uses Rust 1.85 Older versions of `wabt-sys` had CMake compatibility issues requiring newer CMake versions ## Solution Pin `home` crate to version `=0.5.9` which is compatible with Rust 1.85 Downgrade `wabt` from `0.10.0` to `0.9.1` to avoid CMake issues Explicitly add the home dependency in Cargo.toml for clarity
2 parents f17ada2 + b22e882 commit 2d50cd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libsql-sqlite3/test/rust_suite/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ libsql-sys = { path = "../../../libsql-sys", features = ["wal", "wasmtime-bindin
1212

1313
itertools = "0.10"
1414
tempfile = "3.3"
15-
wabt = "0.10.0"
15+
wabt = "0.9.1"
1616
hex = "0.4.3"
1717
rustc-hash = "1"
18+
home = { version = "=0.5.9" }
1819
which = "=4.4.0"
1920

2021
[features]

0 commit comments

Comments
 (0)