matrix_sdk examples: set #![type_length_limit = "1075569"]
Some examples no longer build after the following commits, set a bigger-than-default type_length_limit to let tests pass. The exceptions are not necessary on nightly and can be removed again after https://github.com/rust-lang/rust/issues/54540 is fixed.
This commit is contained in:
parent
a4eae1053c
commit
7d023ebdb9
2 changed files with 8 additions and 0 deletions
|
@ -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::{
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue