pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust-bin lang/rust-bin: Bump minimum rust version



details:   https://anonhg.NetBSD.org/pkgsrc/rev/846b0cc5b145
branches:  trunk
changeset: 381157:846b0cc5b145
user:      pin <pin%pkgsrc.org@localhost>
date:      Fri Jul 01 07:00:28 2022 +0000

description:
lang/rust-bin: Bump minimum rust version

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-bin/buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 581f379991cd -r 846b0cc5b145 lang/rust-bin/buildlink3.mk
--- a/lang/rust-bin/buildlink3.mk       Fri Jul 01 06:58:18 2022 +0000
+++ b/lang/rust-bin/buildlink3.mk       Fri Jul 01 07:00:28 2022 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/06/14 15:33:28 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2022/07/01 07:00:28 pin Exp $
 
 BUILDLINK_TREE+=       rust-bin
 
 .if !defined(RUST_BIN_BUILDLINK3_MK)
 RUST_BIN_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.rust-bin+=       rust-bin>=1.20.0
+BUILDLINK_API_DEPENDS.rust-bin+=       rust-bin>=1.56.1
 BUILDLINK_PKGSRCDIR.rust-bin?=         ../../lang/rust-bin
 BUILDLINK_PASSTHRU_DIRS+=              ${PREFIX}/lib/rustlib
 .endif



Home | Main Index | Thread Index | Old Index