Repository: swimos/swim-rust (language: rust)

Issue:
RocksDB crate 0.19 fails to compile with clang 15.0.0.
There is a bug in the version of `bindgen` pulled in by the `rocksdb` 0.19 crate that causes compilation to fail with recent versions of clang. This is fixed in later versions so should be fixed by upgrading the dependency.

[See here.](https://github.com/rust-rocksdb/rust-rocksdb/issues/768#issuecomment-1767143727)


Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index 148b4999a..bf18d82b6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -90,7 +90,7 @@ ratchet = { package = "ratchet_rs", version = "0.4" }
 ratchet_fixture = "0.4"
 flate2 = "1.0.22"
 bitflags = "1.3"
-rocksdb = "0.19.0"
+rocksdb = "0.22"
 integer-encoding = "3.0.4"
 rustls = "0.20"
 webpki = "0.22"


Test patch: