aboutsummaryrefslogtreecommitdiff
path: root/databases/py-chromadb/files/patch-rust_index_src_lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-chromadb/files/patch-rust_index_src_lib.rs')
-rw-r--r--databases/py-chromadb/files/patch-rust_index_src_lib.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/py-chromadb/files/patch-rust_index_src_lib.rs b/databases/py-chromadb/files/patch-rust_index_src_lib.rs
new file mode 100644
index 000000000000..aca906149a8c
--- /dev/null
+++ b/databases/py-chromadb/files/patch-rust_index_src_lib.rs
@@ -0,0 +1,13 @@
+-- Increase the Rust recursion limit for the chroma-index crate so it can
+-- compile its deeply nested async types on FreeBSD without overflowing the
+-- compiler's trait/query solver depth limit.
+-- This is needed because rustc 1.96.0 hits "queries overflow the depth limit!"
+-- when computing the layout of async fn bodies in metadata/types.
+--- rust/index/src/lib.rs.orig 2026-07-15 01:13:52 UTC
++++ rust/index/src/lib.rs
+@@ -1,3 +1,5 @@
++#![recursion_limit = "256"]
++
+ pub mod config;
+ pub mod fulltext;
+ mod hnsw;