summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-10-27 13:50:23 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-10-27 13:50:53 +0100
commit6c3b2e6b5853dde74687016a25095e8a358c564e (patch)
tree4c6d9053c3ce5bfc40a4f6b8673d766927b6c779
parentb09bdddff33ae7a2ea1d65dce428ec288002fefb (diff)
downloadabuild-6c3b2e6b5853dde74687016a25095e8a358c564e.tar.gz
abuild-6c3b2e6b5853dde74687016a25095e8a358c564e.tar.bz2
abuild-6c3b2e6b5853dde74687016a25095e8a358c564e.tar.xz
abuild-6c3b2e6b5853dde74687016a25095e8a358c564e.zip
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!
-rw-r--r--newapkbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index 76fd7ab..24350d0 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -106,7 +106,7 @@ __EOF__
build_rust() {
cat >>APKBUILD<<__EOF__
- cargo build --release
+ cargo build --release --locked
__EOF__
}