Require Rust 1.24 or later, for RefCell::replace()

parent 13fe6ccb
......@@ -12,9 +12,6 @@ variables:
I386_DEBIAN_TESTING: "registry.gitlab.gnome.org/gnome/librsvg-oci-images/i386/debian:testing"
I386_UBUNTU_BIONIC: "registry.gitlab.gnome.org/gnome/librsvg-oci-images/i386/ubuntu:18.04"
RUSTC_1_21: "registry.gitlab.gnome.org/gnome/librsvg-oci-images/rustc:1.21"
RUSTC_1_22: "registry.gitlab.gnome.org/gnome/librsvg-oci-images/rustc:1.22"
RUSTC_1_23: "registry.gitlab.gnome.org/gnome/librsvg-oci-images/rustc:1.23"
RUSTC_1_24: "registry.gitlab.gnome.org/gnome/librsvg-oci-images/rustc:1.24"
RUSTC_1_25: "registry.gitlab.gnome.org/gnome/librsvg-oci-images/rustc:1.25"
......
......@@ -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.21
* rust 1.24 or later
* cargo
**Mandatory dependencies:**
......
......@@ -84,8 +84,9 @@ AS_IF(test x$RUSTC = xno,
)
dnl Minimum version of rustc that we support
dnl If you change this, please update COMPILING.md
MINIMUM_RUST_MAJOR=1
MINIMUM_RUST_MINOR=21
MINIMUM_RUST_MINOR=24
rust_version=`rustc --version`
version=`echo "$rust_version" | sed -e 's/^rustc //g'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment