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
This is just a compiler bug, we shouldn't ever be crashing on huge data structures on the stack. The worst-case scenario should be out-of-memory or the current 1GiB stack limit since Rust can grow the stack.
It seems feasible to warn when huge data-structures are going to be stack-allocated, leading to overflows and segfaults. (e.g. http://stackoverflow.com/questions/16601160/multidimensional-vectors-in-rust-segfaulting)
The text was updated successfully, but these errors were encountered: