Add a crate attribute to specifiy the size of the main stack #3405
Labels
A-codegen
Area: Code generation
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
#[main_stack_size = 1000000]
This will specify the size of the initial stack segment. Needed mostly for benchmarks. We'll need to refactor rust_start a bit.
The text was updated successfully, but these errors were encountered: