mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-10 17:13:51 +02:00
13 lines
261 B
Bash
13 lines
261 B
Bash
hostmakedepends+=" cargo"
|
|
|
|
if ! [[ "$pkgname" =~ ^cargo-auditable(-bootstrap)?$ ]]; then
|
|
hostmakedepends+=" cargo-auditable"
|
|
fi
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
makedepends+=" rust-std"
|
|
fi
|
|
|
|
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
|
|
|
build_helper+=" rust"
|