How to increase the stack size available to a Rust library?

Viewed 5189

I am playing with lambda calculus and would like to have a bit more stack space to be able to build and compute (very) long function chains. Is there a way to increase it for the crate, similar to increasing the recursion limit (#![recursion_limit = "100"])?

The crate is a library and I would like it to be able to perform stack-intensive operations regardless of the target operating system.

2 Answers
Related