Open ragnarok87 opened 3 years ago
Does it also crash when you run cargo build from the terminal?
Anyway, that's a MacOS kernel bug or hardware issue, I don't think there's much Rust can do here. You might be able to use rust-analyzer with "cargo check" and proc macros disabled, but what good does that to if you can't build your project?
@lnicola Yes,when i run cargo build in terminal, Vs code start getting stuck and suddenly M1 cpu will reach to 80 to 92% then keep restarting.
What if you close Code and run cargo clean, then build?
I don't know why it should affect Code. Do you have build scripts or a weird project structure that might cause RLS to start looking at thousands of files?
Actually i did as you mentioned above and even i tried uninstalling rust, vs code and all extension and reinstalling everything, does not change still the same.
Really, Rust shouldn't be able to crash your OS like that. It's either a kernel bug or a hardware problem.
@lnicola thank you for replay. I ll check maybe hardware or OS big Sur problem.
Hi All, My MacBook Pro M1 keeps freezing and restarting once I install the rust extension in vs-code initiate the cargo build and the CPU hits 92%. Please give me any suggestion to run rust. Below is the system report from mac after the crash.
Os: Mac Big Sur 11.2.1 Chip: Apple M1 Vs code version : Version: 1.54.1 Extension Rust: 0.7.8 Rust-nightly: rustc 1.49.0-nightly (ffa2e7ae8 2020-10-24)