pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust lang/rust: Bump minimum version to 1.56.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/581f379991cd
branches:  trunk
changeset: 381156:581f379991cd
user:      pin <pin%pkgsrc.org@localhost>
date:      Fri Jul 01 06:58:18 2022 +0000

description:
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:

 lang/rust/rust.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5f43a1addf1f -r 581f379991cd lang/rust/rust.mk
--- a/lang/rust/rust.mk Fri Jul 01 06:56:31 2022 +0000
+++ b/lang/rust/rust.mk Fri Jul 01 06:58:18 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index