mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-26 00:42:22 +00:00
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() {
|
||||
cat >>APKBUILD<<__EOF__
|
||||
cargo build --release
|
||||
cargo build --release --locked
|
||||
__EOF__
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user