build-style/cargo: produce auditable binaries

This commit is contained in:
Jan Christian Grünhage 2022-11-01 22:29:59 +01:00 committed by classabbyamp
parent c5a3ba12db
commit ca8c4fb08f
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,9 @@
hostmakedepends+=" cargo"
if ! [[ "$pkgname" =~ ^cargo-auditable(-bootstrap)?$ ]]; then
hostmakedepends+=" cargo-auditable"
fi
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
fi