mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-12-23 04:31:06 +01:00
12 lines
210 B
Bash
12 lines
210 B
Bash
|
hostmakedepends+=" cargo"
|
||
|
|
||
|
if ! [[ "$pkgname" =~ ^cargo-auditable(-bootstrap)?$ ]]; then
|
||
|
hostmakedepends+=" cargo-auditable"
|
||
|
fi
|
||
|
|
||
|
if [ "$CROSS_BUILD" ]; then
|
||
|
makedepends+=" rust-std"
|
||
|
fi
|
||
|
|
||
|
build_helper+=" rust"
|