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
This commit is contained in:
Mikael Urankar 2025-03-13 08:26:12 +01:00
parent fd8d065bf2
commit 3a627a5c54

View file

@ -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