Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2020-02-02 00:49:28 -0500
committerMike Gerwitz <mike.gerwitz@ryansg.com>2020-02-25 16:46:28 -0500
commitf177b6ae5dff3581b4d03137f6baa8c4894f4a22 (patch)
tree6c3bc87c9d4198e68393990752194a3b34c81d79 /tamer/configure.ac
parent10b9caa7adc070e230cd1cb9e6a46c23abca089f (diff)
downloadtame-f177b6ae5dff3581b4d03137f6baa8c4894f4a22.tar.gz
tame-f177b6ae5dff3581b4d03137f6baa8c4894f4a22.tar.bz2
tame-f177b6ae5dff3581b4d03137f6baa8c4894f4a22.zip
configure.ac: Rust 1.{39>41}.0 version bump
Relaxes orphan rules for foreign traits. This also modifies the error to suggest how to update using rustup.
Diffstat (limited to 'tamer/configure.ac')
-rw-r--r--tamer/configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/tamer/configure.ac b/tamer/configure.ac
index 8cca174..06a30fe 100644
--- a/tamer/configure.ac
+++ b/tamer/configure.ac
@@ -43,14 +43,15 @@ AC_CHECK_PROGS(CARGO, [cargo])
test -n "$CARGO" || AC_MSG_ERROR([cargo not found])
-rustc_ver_req=1.39.0
+rustc_ver_req=1.41.0
AC_CHECK_PROGS(RUSTC, [rustc])
AC_MSG_CHECKING([rustc version >= $rustc_ver_req])
rustc_version=$("$RUSTC" --version | cut -d' ' -f2)
AX_COMPARE_VERSION([$rustc_version], [ge], [$rustc_ver_req],
[AC_MSG_RESULT([yes ($rustc_version)])],
- [AC_MSG_ERROR([no ($rustc_version)])])
+ [AC_MSG_RESULT([no ($rustc_version)])
+ AC_MSG_ERROR([If using rustup, run `rustup update'])])
AC_ARG_VAR([CARGO_BUILD_FLAGS],
[Flags to be passed to `cargo build' when invoked via Make])