Initially reported rust-lang/atom-ide-rust#75. Soon after starting rls reports thread 'main' has overflowed its stack on stderr. This seems to be the cause of rls not working for this project. Steps to reproduce Install windows git clone...
To address this, I explored increasing the stack memory allocation, which successfully resolved the issue on my WindowsPowerShell . Here's the command I used: $env:RUST_MIN_STACK=9999999999 ; this for increase stack size try to increase the stack size until it work see example: for linux ...
rustthread'' has overflowed its stack inRust 在子线程中,写成这样就不提示溢出了 use std::thread; use std::time::Duration; fn main() { let handle =thread::Builder::new().stack_size(2 * 1024 * 1024 * 1024 ).spawn( ... html 子...
thread 'main' has overflowed its stack [ERROR rust_analyzer::reload] proc macro server crashed: failed to write request: The pipe is being closed. (os error 232) [ERROR rust_analyzer::reload] proc macro server crashed: failed to write request: The pipe is being closed. (os error 232) ...
thread 'run_interval' has overflowd its stack pub fn sync_polling_block() -> impl Fn() { || { loop { log::info("test"); std::thread::sleep(std::time::Duration::from_secs(1)); } } } fn main() { let thread_builder = std::thread::Builder::new()...