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
Reduce stack usage for CFA to prevent stack overflows
Because of rust-lang/rust#34283, in the
get_decoder() function we ran out of stack space.
Each CFA instance is ~19.000 bytes on the stack, and each decoder
instance contains a camera member which contains a cfa member.
This found by:
cargo +nightly rustc --lib -- -Zprint-type-sizes 2>&1 | grep print-type > type-sizes.txt
egrep "[[:digit:]]{5,9} bytes" type-sizes.txt
0 commit comments