summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-10-24 18:20:02 -0500
committerMarge Bot <marge-bot@gnome.org>2022-10-25 13:59:05 +0000
commit9f474ceb86832c867e099f3884a5fc0159d0d9a4 (patch)
treefb96febc26ff9447a111a0893dfe3e5cc797e99b
parentc8c22b4449916cc22a7576d4bc18f7a332ce14af (diff)
downloadlibrsvg-9f474ceb86832c867e099f3884a5fc0159d0d9a4.tar.gz
Bump the minimum Rust version to 1.63
The gtk-rs update requires this. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/760>
-rw-r--r--COMPILING.md2
-rw-r--r--Cargo.toml2
-rw-r--r--ci/container_builds.yml4
-rw-r--r--configure.ac2
4 files changed, 5 insertions, 5 deletions
diff --git a/COMPILING.md b/COMPILING.md
index 747bd949..bee25518 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.58 or later
+* rust 1.63 or later
* cargo
**Mandatory dependencies:**
diff --git a/Cargo.toml b/Cargo.toml
index 81b7eb7b..a89041e4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,7 +9,7 @@ homepage = "https://wiki.gnome.org/Projects/LibRsvg"
repository = "https://gitlab.gnome.org/GNOME/librsvg/"
build = "build.rs"
edition = "2021"
-rust-version = "1.58"
+rust-version = "1.63"
[package.metadata.system-deps]
cairo-pdf = { version = "1.16", optional = true }
diff --git a/ci/container_builds.yml b/ci/container_builds.yml
index 9ddcf692..a81d016d 100644
--- a/ci/container_builds.yml
+++ b/ci/container_builds.yml
@@ -6,9 +6,9 @@ include:
variables:
# When branching change the suffix to avoid conflicts with images
# from the main branch
- BASE_TAG: "2022-09-26.4-main"
+ BASE_TAG: "2022-10-24.0-main"
RUST_STABLE: "1.64.0"
- RUST_MINIMUM: "1.58.1"
+ RUST_MINIMUM: "1.63.0"
.container.opensuse@common:
stage: "container-build"
diff --git a/configure.ac b/configure.ac
index 1b125296..ee808192 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,7 +107,7 @@ AS_IF(test x$RUSTC = xno,
dnl MSRV - Minimum Supported Rust Version
dnl If you change this, please update COMPILING.md
-MINIMUM_RUST_VER=1.58
+MINIMUM_RUST_VER=1.63
rust_version=`$RUSTC --version | sed -e 's/^rustc //g'`
AX_COMPARE_VERSION([$rust_version],[lt],[$MINIMUM_RUST_VER], [
AC_MSG_ERROR([librsvg needs at least rustc version $MINIMUM_RUST_VER])