Is this possible? Tbh, during development I'd like to have the choice of seeing just errors and warnings optionally not shown.
Thanks
1 Like
You can put #![allow(warnings)] in the crate root, or you can run cargo check -- -A warnings I think.
Hi,
I've tried the second option (as this would be the ideal for me) you've provided and it doesn't work. Any ideas?
RUSTFLAGS=-Awarnings cargo check
2 Likes
Thanks
Still, the behavior of cargo check and RUSTFLAGS=-Awarnings cargo check is different in a sense that the latter triggers compilation every time, whilst the former does not. Interesting.
1 Like
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.