diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-20 18:46:33 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-01-08 12:07:31 +0200 |
commit | f2b22f87a1cc18693e043c7cd1021af613d9dfef (patch) | |
tree | 32feea08f8d167d8d64c89f30c3ec19acbda76cc /docs/markdown/snippets | |
parent | 2450342535274d13adbad6c0ac93aca82649c5c6 (diff) | |
download | meson-f2b22f87a1cc18693e043c7cd1021af613d9dfef.zip meson-f2b22f87a1cc18693e043c7cd1021af613d9dfef.tar.gz meson-f2b22f87a1cc18693e043c7cd1021af613d9dfef.tar.bz2 |
rust: change warning_level=0 to "--cap-lints allow"
This is a better and more backwards-compatible way to disable all warnings,
compared to "-A warnings". The Rust RFC (https://rust-lang.github.io/rfcs/1193-cap-lints.html)
explains the rationale:
> We would very much like to be able to modify lints, however. For example
> rust-lang/rust#26473 updated the missing_docs lint to also look for missing
> documentation on const items. This ended up breaking some crates in the
> ecosystem due to their usage of #![deny(missing_docs)].
While at it, document that Rust deviates from the other languages in its
interpretation of warning_level=0.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions