diff --git a/matrix_sdk/examples/command_bot.rs b/matrix_sdk/examples/command_bot.rs index 4f2d9fea..ffd39f76 100644 --- a/matrix_sdk/examples/command_bot.rs +++ b/matrix_sdk/examples/command_bot.rs @@ -1,3 +1,7 @@ +// allow biggr types until rustc fix, consider removing after new rust +// stable release. see https://github.com/rust-lang/rust/issues/54540 +#![type_length_limit = "1075569"] + use std::{env, process::exit}; use matrix_sdk::{ diff --git a/matrix_sdk/examples/image_bot.rs b/matrix_sdk/examples/image_bot.rs index 68099d89..5f48e6e0 100644 --- a/matrix_sdk/examples/image_bot.rs +++ b/matrix_sdk/examples/image_bot.rs @@ -1,3 +1,7 @@ +// allow biggr types until rustc fix, consider removing after new rust +// stable release. see https://github.com/rust-lang/rust/issues/54540 +#![type_length_limit = "1075569"] + use std::{ env, fs::File,