git: 10b9f3f22d9b - main - lang/rust: limit PORT_LLVM max to 19

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Thu, 27 Mar 2025 07:46:06 UTC
The branch main has been updated by vishwin:

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

commit 10b9f3f22d9b3ed5541f9d1a02bc089862c2cebf
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-03-27 07:41:44 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-03-27 07:45:59 +0000

    lang/rust: limit PORT_LLVM max to 19
    
    LLVM 20 support currently only exists in trunk.
---
 lang/rust/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 8e028eb1ac49..2d27123116c1 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -64,7 +64,7 @@ DOCS_VARS=		_RUST_BUILD_DOCS=true \
 			_RUST_TOOLS+=rustdoc
 DOCS_VARS_OFF=		_RUST_BUILD_DOCS=false
 GDB_RUN_DEPENDS=	${LOCALBASE}/bin/gdb:devel/gdb
-PORT_LLVM_USES=		llvm:min=18,lib,noexport
+PORT_LLVM_USES=		llvm:min=18,max=19,lib,noexport
 PORT_LLVM_MAKE_ENV=	RUSTFLAGS="-Lnative=${LOCALBASE}/lib"
 SOURCES_VARS=		_COMPONENTS+=rust-src-${_PACKAGE_VERS} \
 			_RUST_TOOLS+=src