Constant rustc_mir_transform::const_prop::MAX_ALLOC_LIMIT[][src]

const MAX_ALLOC_LIMIT: u64 = 1024;
Expand description

The maximum number of bytes that we’ll allocate space for a local or the return value. Needed for #66397, because otherwise we eval into large places and that can cause OOM or just Severely regress performance.