git: 3a627a5c547a - main - lang/rust: do not build the documentation on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Mar 2025 07:29:31 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3a627a5c547aeedf2806c249810c098d482de136
commit 3a627a5c547aeedf2806c249810c098d482de136
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-03-13 07:26:12 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-03-13 07:26:12 +0000
lang/rust: do not build the documentation on armv7
A bug [1] prevents documentation from being compiled on this
platform, disable it until it's fixed in a release branch.
[1] https://github.com/rust-lang/rust/pull/137632
Reported by: mmel
---
lang/rust/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 7d5f8cf09f04..0c736fa9aa21 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -171,7 +171,11 @@ do-configure:
@${ECHO_CMD} 'vendor=true' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'extended=true' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'python="${PYTHON_CMD}"' >> ${WRKSRC}/config.toml
+.if ${ARCH} == "armv7"
+ @${ECHO_CMD} 'docs=false' >> ${WRKSRC}/config.toml
+.else
@${ECHO_CMD} 'docs=${_RUST_BUILD_DOCS}' >> ${WRKSRC}/config.toml
+.endif
@${ECHO_CMD} 'verbose=2' >> ${WRKSRC}/config.toml
.if defined(NIGHTLY_DATE)
@${ECHO_CMD} 'profiler=true' >> ${WRKSRC}/config.toml