You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prepare for Rust 1.50+ by boxing large futures (#1003)
Version 1.50 of the Rust compiler introduced a regression
(rust-lang/rust#84873) that results in the compiler using extremely
large amounts of memory (and eventually getting OOM killed) when
compiling code involving very large nested types. This regression is
triggered by a number of future types in the proxy.
This change adds several `BoxService` layers--primarily within
`switch` layers--to reduce the size of future types so that the proxy
can successfully be compiled on Rust 1.50+.
This change does not update the Rust toolchain version.
Co-authored-by: Oliver Gould <[email protected]>
0 commit comments