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

8 lines
107 B
Bash

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