diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-08-25 17:23:18 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-08-25 17:23:18 -0500 |
commit | f344e3a7b792b2d0c267ca0e23c6c40d1db1e02b (patch) | |
tree | ea261950ae77a3167dbea8aa094050ee046cc659 /devel-docs/releasing.rst | |
parent | 1f85fa6723d3751decefc977d60bdf0f97543956 (diff) | |
download | librsvg-f344e3a7b792b2d0c267ca0e23c6c40d1db1e02b.tar.gz |
Add the minimum rust-version to Cargo.toml
This is supported since Rust 1.56.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/735>
Diffstat (limited to 'devel-docs/releasing.rst')
-rw-r--r-- | devel-docs/releasing.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel-docs/releasing.rst b/devel-docs/releasing.rst index d17d3a0c..b0d9579d 100644 --- a/devel-docs/releasing.rst +++ b/devel-docs/releasing.rst @@ -97,9 +97,11 @@ Rust that is too old — instead of getting an obscure error message from ``rustc`` in the middle of the build when it finds an unsupported language construct. -As of March 2021, Cargo does not allow setting a minimum supported Rust -version; you may want to keep an eye on `the MSRV -RFC <https://github.com/rust-lang/rfcs/pull/2495>`__. +Please update both of these when increasing the MSRV: + +- The ``MININUM_RUST_MAJOR`` and ``MINIMUM_RUST_MINOR`` values in ``configure.ac``. + +- The ``rust-version`` value in ``Cargo.toml``. Sometimes librsvg’s dependencies update their MSRV and librsvg may need to increase it as well. Please consider the following before doing this: |