##// END OF EJS Templates
rust: configure MSRV in Clippy...
Georges Racinet -
r51283:b88e9c70 default
parent child Browse files
Show More
@@ -0,0 +1,1 b''
1 msrv = "1.61.0"
@@ -76,8 +76,9 b' instructions on how to install from sour'
76 MSRV
76 MSRV
77 ====
77 ====
78
78
79 The minimum supported Rust version is currently 1.61.0. The project's policy is
79 The minimum supported Rust version is defined in `rust/clippy.toml`.
80 to follow the version from Debian testing, to make the distributions' job easier.
80 The project's policy is to keep it at or below the version from Debian testing,
81 to make the distributions' job easier.
81
82
82 rhg
83 rhg
83 ===
84 ===
@@ -79,9 +79,25 b' Example usage::'
79 Developing Rust
79 Developing Rust
80 ===============
80 ===============
81
81
82 The current version of Rust in use is ``1.61.0``, because it's what Debian
82 Minimum Supported Rust Version
83 testing has. You can use ``rustup override set 1.61.0`` at the root of the repo
83 ------------------------------
84 to make it easier on you.
84
85 The minimum supported rust version (MSRV) is specified in the `Clippy`_
86 configuration file at ``rust/clippy.toml``. It is set to be ``1.61.0`` as of
87 this writing, but keep in mind that the authoritative value is the one
88 from the configuration file.
89
90 We bump it from time to time, with the general rule being that our
91 MSRV should not be greater that the version of the Rust toolchain
92 shipping with Debian testing, so that the Rust enhanced Mercurial can
93 be eventually packaged in Debian.
94
95 To ensure that you are not depending on features introduced in later
96 versions, you can issue ``rustup override set x.y.z`` at the root of
97 the repository.
98
99 Build and development
100 ---------------------
85
101
86 Go to the ``hg-cpython`` folder::
102 Go to the ``hg-cpython`` folder::
87
103
General Comments 0
You need to be logged in to leave comments. Login now