1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-10 08:58:07 +01:00
void-packages/common/environment/build-style/cargo.sh

12 lines
210 B
Bash
Raw Normal View History

2024-03-29 08:12:19 +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"