When I build a Rust project using cargo build
, I get error messages in the terminal. Are these error messages stored in a log file?
No, but if you'd like to store them, you can use cargo build 2>./log
, which redirects all errors to be written to the file ./log
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With