newapkbuild: run cargo install with --locked

This forces cargo to install the exact versions of the dependencies
specified in Cargo.lock. This is essential for reproducible builds!
This commit is contained in:
Jakub Jirutka 2019-10-27 13:50:23 +01:00
parent b09bdddff3
commit 6c3b2e6b58

View File

@ -106,7 +106,7 @@ __EOF__
build_rust() { build_rust() {
cat >>APKBUILD<<__EOF__ cat >>APKBUILD<<__EOF__
cargo build --release cargo build --release --locked
__EOF__ __EOF__
} }