run_with_large_stack

Function run_with_large_stack 

Source
pub fn run_with_large_stack<F, R>(f: F) -> R
where F: FnOnce() -> R + Send + 'static, R: Send + 'static,
Expand description

Execute f on a dedicated thread with a larger stack so recursive parsers don’t overflow.