iamb: temporary fix for matrix-sdk-sqlite failure (#501997)

This commit is contained in:
Sandro
2026-04-09 21:37:34 +00:00
committed by GitHub
2 changed files with 29 additions and 0 deletions
@@ -0,0 +1,25 @@
From 979dcc049c1d8b8b537ddf42133dba38ef17ee7f Mon Sep 17 00:00:00 2001
From: azban <me@azban.net>
Date: Sat, 21 Mar 2026 11:23:30 -0600
Subject: [PATCH] increase recursion limit to fix matrix-sdk-sqlite
This is a temporary fix for build errors in the matrix-sdk-sqlite dependency. A more durable fix should be checked for in https://github.com/matrix-org/matrix-rust-sdk/issues/6254.
---
src/main.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main.rs b/src/main.rs
index 0a316c7..794f838 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -15,6 +15,7 @@
#![allow(clippy::needless_return)]
#![allow(clippy::result_large_err)]
#![allow(clippy::bool_assert_comparison)]
+#![recursion_limit = "256"]
use std::collections::VecDeque;
use std::convert::TryFrom;
use std::fmt::Display;
--
2.51.2
+4
View File
@@ -19,6 +19,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
hash = "sha256-nvEOtV1Y5K9E1Lj+bPnQ6k1AneDM9OT3RbV3Urm/1Qs=";
};
patches = [
./0001-increase-recursion-limit-to-fix-matrix-sdk-sqlite.patch
];
cargoHash = "sha256-uWYNFNoCiqw6gYuHZWmZmZVs7lKNvhzjwEyxgcbvv+8=";
nativeBuildInputs = [