提交 f3330950 编写于 作者: M Michael Sullivan

Bump the stack size and make the RUST_MIN_STACK env variable accept hex values.

上级 b01ecb10
......@@ -18,10 +18,10 @@
static size_t get_min_stk_size() {
char *stack_size = getenv("RUST_MIN_STACK");
if(stack_size) {
return atoi(stack_size);
return strtol(stack_size, NULL, 0);
}
else {
return 0x200000;
return 0x300000;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册