Eliminate type-length and recursion relaxations.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-03-09 11:45:23 +00:00
parent beb9fa0ecd
commit 715d0a11c6
6 changed files with 3 additions and 8 deletions

View File

@@ -1,4 +1,3 @@
#![type_length_limit = "12288"]
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
pub mod alloc;

View File

@@ -1,4 +1,3 @@
#![type_length_limit = "65536"]
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
extern crate rust_rocksdb as rocksdb;

View File

@@ -1,4 +1,3 @@
#![type_length_limit = "4096"] //TODO: reduce me
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
pub mod args;

View File

@@ -1,4 +1,3 @@
#![type_length_limit = "32768"] //TODO: reduce me
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
mod handle;

View File

@@ -1,5 +1,3 @@
#![recursion_limit = "256"]
#![type_length_limit = "98304"]
#![expect(refining_impl_trait)]
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug

View File

@@ -120,6 +120,7 @@ pub async fn build_and_append_pdu(
once(pdu.event_id()),
state_lock,
)
.boxed()
.await?;
// We set the room state after inserting the pdu, so that we never have a moment
@@ -192,8 +193,8 @@ where
.room_members(pdu.room_id())
.ready_filter(|user| self.services.globals.user_is_local(user))
.ready_filter(|user| *user != target)
.boxed()
.count()
.boxed()
.await;
if count < 2 {
@@ -216,8 +217,8 @@ where
.room_members(pdu.room_id())
.ready_filter(|user| self.services.globals.user_is_local(user))
.ready_filter(|user| *user != target)
.boxed()
.count()
.boxed()
.await;
if count < 2 {