This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
evolution-packages/common/environment/build-style/cargo.sh

12 lines
210 B
Bash
Raw Permalink Normal View History

2023-08-05 21:19:04 +01:00
hostmakedepends+=" cargo"
if ! [[ "$pkgname" =~ ^cargo-auditable(-bootstrap)?$ ]]; then
hostmakedepends+=" cargo-auditable"
fi
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
fi
build_helper+=" rust"