rust thread '<main>' has overflowed its stack in Rust
摘要:
在子线程中,写成这样就不提示溢出了 use std::thread; use std::time::Duration; fn main() { let handle = thread::Builder::new().stack_size(2 * 1024 * 1024 * 1024 ).spawn( 阅读全文
posted @ 2021-09-10 16:29 pu369com 阅读(385) 评论(0) 推荐(0) 编辑