diff rust/clippy.toml @ 50457:b88e9c707c95

rust: configure MSRV in Clippy This setting makes Clippy never apply lints that are meant for later versions. In case the target precise toolchain is the one running, it does not make a difference, but this gives us a machine-parseable specification that is pretty standard. The README and `hg help rust` are updated to state that `clippy.toml` is the single source of truth about that, also lifting a minor ambiguity: it is fine if the MSRV is lagging behind the version in Debian testing.
author Georges Racinet <georges.racinet@octobus.net>
date Tue, 04 Apr 2023 11:58:35 +0200
parents
children 541292a02e09
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rust/clippy.toml	Tue Apr 04 11:58:35 2023 +0200
@@ -0,0 +1,1 @@
+msrv = "1.61.0"