Skip to content

Commit

Permalink
Increase type_length_limit to 2121396
Browse files Browse the repository at this point in the history
Previously rustc would fail with
error: reached the type-length limit while instantiating
`<std::vec::IntoIter<Peer> as std...rs:216:58: 220:6 keylog:&bool]]>`
  • Loading branch information
Thomasdezeeuw authored and djc committed Mar 21, 2021
1 parent 2a6c0af commit 817a57d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions interop/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![allow(clippy::mutex_atomic, clippy::eval_order_dependence)]
#![type_length_limit = "2121396"]

use std::{
env,
Expand Down
2 changes: 2 additions & 0 deletions interop/src/qif.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![type_length_limit = "2121396"]

/// Offline QPACK interop test tool
///
/// QIF - Quic Interop File
Expand Down
2 changes: 2 additions & 0 deletions interop/src/server.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![type_length_limit = "2121396"]

use std::{
ascii, cmp,
ffi::OsStr,
Expand Down

0 comments on commit 817a57d

Please sign in to comment.