Macro link_args::windows::stack_size [−][src]
Set how much virtual memory is avaliable for the stack.
You can also optionally allocate physical memory upfront. Be aware that
Rust’s std::thread
can and will override these settings for all but the
main thread.
Examples
Reserve 8 MiB of virtual memory for the stack.
link_args::windows::stack_size!(0x800000);
Reserve 8 MiB for the stack and allocate 4 MiB as soon as the program starts.
link_args::windows::stack_size!(0x800000, 0x400000);