summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2022-07-01 06:58:18 +0000
committerpin <pin@pkgsrc.org>2022-07-01 06:58:18 +0000
commitff70272064024e281078b21720cd505aa2a40e61 (patch)
tree7b44820a52cac4bc8121762626ac1a8a977e1da0 /lang
parent06d52e9d3cb0909ded41b081487bf5a919308c64 (diff)
downloadpkgsrc-ff70272064024e281078b21720cd505aa2a40e61.tar.gz
lang/rust: Bump minimum version to 1.56.1
By now a large number of Rust projects have migrated to edition = 2021, which requires Rust >= 1.56. Some projects still using edition = 2018 could, technically build with 1.20. But, since several libs have also adopted edition = 2021, many would fail while building dependencies.
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/rust.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/rust/rust.mk b/lang/rust/rust.mk
index e512bd27abe..3c5b2792f1c 100644
--- a/lang/rust/rust.mk
+++ b/lang/rust/rust.mk
@@ -1,4 +1,4 @@
-# $NetBSD: rust.mk,v 1.7 2020/10/14 08:23:49 triaxx Exp $
+# $NetBSD: rust.mk,v 1.8 2022/07/01 06:58:18 pin Exp $
#
# This file determines the type of rust package to use.
#
@@ -22,7 +22,7 @@
# RUST_REQ
# The minimum version of Rust required by the package.
#
-# Default: 1.20.0
+# Default: 1.56.1
#
# RUST_RUNTIME
# Whether rust is a runtime dependency.
@@ -33,7 +33,7 @@
.include "../../mk/bsd.fast.prefs.mk"
-RUST_REQ?= 1.20.0
+RUST_REQ?= 1.56.1
RUST_RUNTIME?= no
RUST_TYPE?= src