git: bb3d1e79b1eb - main - lang/rust: PORT_LLVM minimum version is 20

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Fri, 19 Dec 2025 17:07:34 UTC
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb3d1e79b1ebbe1925f27f386f53122ad1c53d04

commit bb3d1e79b1ebbe1925f27f386f53122ad1c53d04
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-12-19 17:06:06 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-12-19 17:06:06 +0000

    lang/rust: PORT_LLVM minimum version is 20
    
    Source: https://github.com/rust-lang/rust/commit/f104ecfba6f56d84c6f48fa328ce20ef48efa796
---
 lang/rust/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index ed549b63d685..278dd0445686 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -63,7 +63,7 @@ DOCS_VARS=		_RUST_BUILD_DOCS=true \
 			_COMPONENTS+="rust-docs-${_PACKAGE_VERS}-${_RUST_TARGET} rust-docs-json-${_PACKAGE_VERS}-${_RUST_TARGET}"
 DOCS_VARS_OFF=		_RUST_BUILD_DOCS=false
 GDB_RUN_DEPENDS=	${LOCALBASE}/bin/gdb:devel/gdb
-PORT_LLVM_USES=		llvm:min=${LLVM_VERSION},lib,noexport
+PORT_LLVM_USES=		llvm:min=20,lib,noexport
 PORT_LLVM_MAKE_ENV=	RUSTFLAGS="-Lnative=${LOCALBASE}/lib"
 SOURCES_VARS=		_COMPONENTS+=rust-src-${_PACKAGE_VERS} \
 			_RUST_TOOLS+=src