Closed
Description
Rust should have a way to output a call to a chkstk
-like function for frames larger than the guard size. LLVM has support for chkstk
so this could be leveraged on other platforms too. The Linux pthread API provides pthread_getattr_np
so the available stack space can be checked.
Here's the documentation for the GCC support: