[librsvg: 1/2] (#744): Minimum Supported Rust Version is now 1.52




commit 08c7d6adeed2635f9b05e73e35fb84ac7a19c8fc
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon May 31 19:06:00 2021 -0500

    (#744): Minimum Supported Rust Version is now 1.52
    
    Three things make me want to make Rust 1.52 the MSRV for librsvg:
    
        CVE-2021-28878 in the Zip iterator in the standard library -
        https://rustsec.org/advisories/CVE-2021-28878.html
    
        Miscompilations with incremental compilation before 1.52.1 - only
        of concern to everyday developers, not to full release
        builds.
        https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1521-2021-05-10
    
        Firefox 90, due on June 29, should require Rust 1.53 anyway - this
        is a few days before the GNOME 41 alpha, due on July 10.
        https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html
    
    Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/744

 COMPILING.md | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/COMPILING.md b/COMPILING.md
index c8ee810b..fe2a9ce1 100644
--- a/COMPILING.md
+++ b/COMPILING.md
@@ -31,7 +31,7 @@ minimum version is listed here; you may use a newer version instead.
 **Compilers:**
 
 * a C compiler and `make` tool; we recommend GNU `make`.
-* rust 1.51 or later
+* rust 1.52 or later
 * cargo
 
 **Mandatory dependencies:**
diff --git a/configure.ac b/configure.ac
index 7e006dd4..a70eaa0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,7 @@ AS_IF(test x$RUSTC = xno,
 dnl MSRV - Minimum Supported Rust Version
 dnl If you change this, please update COMPILING.md
 MINIMUM_RUST_MAJOR=1
-MINIMUM_RUST_MINOR=51
+MINIMUM_RUST_MINOR=52
 
 rust_version=`$RUSTC --version`
 version=`echo "$rust_version" | sed -e 's/^rustc //g'`


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]