tech-pkg archive

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

Re: Cross-building rusty packages



* On 2025-01-12 at 14:12 GMT, Taylor R Campbell wrote:

Date: Sun, 12 Jan 2025 12:20:06 +0000
From: Jonathan Perkin <jperkin%pkgsrc.org@localhost>

* On 2025-01-12 at 09:27 GMT, Taylor R Campbell wrote:

>+TARGET_RUST_ARCH=	${empty(TARGET_MACHINE_PLATFORM):?:${RUST_MACHINE_ARCH.${TARGET_MACHINE_ARCH}:U${TARGET_MACHINE_ARCH}}-${empty(TARGET_LOWER_VENDOR):?unknown:${TARGET_LOWER_VENDOR}}-${RUST_LOWER_OPSYS.${TARGET_LOWER_OPSYS}:U${TARGET_LOWER_OPSYS}}${TARGET_APPEND_ABI}}

This is basically unreadable.  Can we prioritise readability over
clever use of ternary operators please.

Better?

Yep!  Thanks,

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index