[librsvg: 2/3] Bump the minimum rustc version to 1.21
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 2/3] Bump the minimum rustc version to 1.21
- Date: Fri, 16 Mar 2018 17:17:52 +0000 (UTC)
commit 2a12cbf6c5339b383da739593326e20fdbad0cb8
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Fri Mar 16 03:36:44 2018 +0200
Bump the minimum rustc version to 1.21
configure.ac | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4909b4dd..4a653d0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,16 +80,13 @@ AS_IF(test x$RUSTC = xno,
dnl Minimum version of rustc that we support
MINIMUM_RUST_MAJOR=1
-MINIMUM_RUST_MINOR=20
+MINIMUM_RUST_MINOR=21
rust_version=`rustc --version`
version=`echo "$rust_version" | sed -e 's/^rustc //g'`
major=`echo "$version" | cut -d. -f1`
minor=`echo "$version" | cut -d. -f2`
-MINIMUM_RUST_MAJOR=1
-MINIMUM_RUST_MINOR=20
-
AS_IF(test "$major" -lt "$MINIMUM_RUST_MAJOR" -o "$minor" -lt "$MINIMUM_RUST_MINOR",
AC_MSG_ERROR([librsvg needs at rustc version at least $MINIMUM_RUST_MAJOR.$MINIMUM_RUST_MINOR])
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]