void-packages/common/environment/build-style/cargo.sh

7 lines
107 B
Bash

hostmakedepends+=" cargo"
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
fi
build_helper+=" rust"