Is there a way to override a #[deny(warnings)]
from the command line, using cargo (not rustc)? I tried RUSTFLAGS="-A warnings" cargo check
as well as cargo check --config 'cap-lints="allow"'
but neither worked.
Thanks!
Is there a way to override a #[deny(warnings)]
from the command line, using cargo (not rustc)? I tried RUSTFLAGS="-A warnings" cargo check
as well as cargo check --config 'cap-lints="allow"'
but neither worked.
Thanks!
--config 'cap-lints="allow"'
is not a thing. You are probably looking for RUSTFLAGS="--cap-lints allow" cargo check
.
Ahh ok, thank you!
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.