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

8 lines
107 B
Bash
Raw Normal View History

2018-09-16 19:39:23 +00:00
hostmakedepends+=" cargo"
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
2018-09-16 19:39:23 +00:00
fi
build_helper+=" rust"