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:
parent
b09bdddff3
commit
6c3b2e6b58
@ -106,7 +106,7 @@ __EOF__
|
|||||||
|
|
||||||
build_rust() {
|
build_rust() {
|
||||||
cat >>APKBUILD<<__EOF__
|
cat >>APKBUILD<<__EOF__
|
||||||
cargo build --release
|
cargo build --release --locked
|
||||||
__EOF__
|
__EOF__
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user