Eliminate type-length and recursion relaxations.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
#![type_length_limit = "12288"]
|
|
||||||
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
||||||
|
|
||||||
pub mod alloc;
|
pub mod alloc;
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#![type_length_limit = "65536"]
|
|
||||||
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
||||||
|
|
||||||
extern crate rust_rocksdb as rocksdb;
|
extern crate rust_rocksdb as rocksdb;
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#![type_length_limit = "4096"] //TODO: reduce me
|
|
||||||
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
||||||
|
|
||||||
pub mod args;
|
pub mod args;
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#![type_length_limit = "32768"] //TODO: reduce me
|
|
||||||
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
||||||
|
|
||||||
mod handle;
|
mod handle;
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
#![recursion_limit = "256"]
|
|
||||||
#![type_length_limit = "98304"]
|
|
||||||
#![expect(refining_impl_trait)]
|
#![expect(refining_impl_trait)]
|
||||||
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
|
||||||
|
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ pub async fn build_and_append_pdu(
|
|||||||
once(pdu.event_id()),
|
once(pdu.event_id()),
|
||||||
state_lock,
|
state_lock,
|
||||||
)
|
)
|
||||||
|
.boxed()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
// We set the room state after inserting the pdu, so that we never have a moment
|
// 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())
|
.room_members(pdu.room_id())
|
||||||
.ready_filter(|user| self.services.globals.user_is_local(user))
|
.ready_filter(|user| self.services.globals.user_is_local(user))
|
||||||
.ready_filter(|user| *user != target)
|
.ready_filter(|user| *user != target)
|
||||||
.boxed()
|
|
||||||
.count()
|
.count()
|
||||||
|
.boxed()
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
if count < 2 {
|
if count < 2 {
|
||||||
@@ -216,8 +217,8 @@ where
|
|||||||
.room_members(pdu.room_id())
|
.room_members(pdu.room_id())
|
||||||
.ready_filter(|user| self.services.globals.user_is_local(user))
|
.ready_filter(|user| self.services.globals.user_is_local(user))
|
||||||
.ready_filter(|user| *user != target)
|
.ready_filter(|user| *user != target)
|
||||||
.boxed()
|
|
||||||
.count()
|
.count()
|
||||||
|
.boxed()
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
if count < 2 {
|
if count < 2 {
|
||||||
|
|||||||
Reference in New Issue
Block a user