mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
common/build-style/cargo.sh: use --locked for build and check as well
This commit is contained in:
parent
219a03b59d
commit
3c3b8a2e7b
1 changed files with 3 additions and 3 deletions
|
@ -5,14 +5,14 @@
|
||||||
do_build() {
|
do_build() {
|
||||||
: ${make_cmd:=cargo auditable}
|
: ${make_cmd:=cargo auditable}
|
||||||
|
|
||||||
${make_cmd} build --release --target ${RUST_TARGET} ${configure_args}
|
${make_cmd} build --release --locked --target ${RUST_TARGET} ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
: ${make_cmd:=cargo auditable}
|
: ${make_cmd:=cargo auditable}
|
||||||
|
|
||||||
${make_check_pre} ${make_cmd} test --release --target ${RUST_TARGET} ${configure_args} \
|
${make_check_pre} ${make_cmd} test --release --locked --target ${RUST_TARGET} \
|
||||||
${make_check_args}
|
${configure_args} ${make_check_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue