Closed broomlytinum closed 2 years ago
Hey @broomlytinum, welcome!! It's normal that Rust compiler use 100% CPU. I'm not sure the antivirus flag because I use Mac and don't have a antivirus app installed hahaa
Actually, I use WSL on Windows. Highly recommended.
Let me know if there is something else I can do? This might as well be moved to discussion.
Thanks. Strangely, I've never had the compiler hit such high CPU usage... Anyway, I tried again now with no issue both with CPU usage or antivirus, so I have seriously no clue why that occurred. I'm hoping that it got mistakenly flagged as a result of unexpected behavior with cargo clean
. At this point I have no reason to believe this relates to SeaORM. Apologies for the trouble!
I went to build SeaORM as a dependency in a fresh crate with the following in my
Cargo.toml
:Compilation began to eat up my CPU, nearing 100% usage between my terminal and rust-analyzer in VSCode. Moments after I attempted a
cargo clean
, McAfee claimed there was a virus in my crate's target folder and requested a restart. Unfortunately I did not catch a glimpse of the filename before I restarted, so this may not be of much help if it turns out irreproducible... 😅