use newer version of zstd and lzma

This commit is contained in:
trinity-1686a 2022-10-29 19:31:05 +02:00
parent 8cf9e2a6a4
commit 3d5d4ada01
2 changed files with 4 additions and 10 deletions

8
Cargo.lock generated
View File

@ -1871,9 +1871,9 @@ dependencies = [
[[package]]
name = "lzma-sys"
version = "0.1.19"
version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e06754c4acf47d49c727d5665ca9fb828851cda315ed3bd51edd148ef78a8772"
checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27"
dependencies = [
"cc",
"libc",
@ -4811,9 +4811,9 @@ dependencies = [
[[package]]
name = "zstd-sys"
version = "2.0.1+zstd.1.5.2"
version = "2.0.4+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
checksum = "4fa202f2ef00074143e219d15b62ffc317d17cc33909feac471c044087cad7b0"
dependencies = [
"cc",
"libc",

View File

@ -44,12 +44,6 @@ export RUSTFLAGS="-C target-cpu=westmere"
cp -a "$here" /arti
cd /arti
## use tmpfs to store dependencies sources. It has been observed that what
## filesystem these files reside on has an impact on the resulting binary.
## We put these in a tmpfs as a way to stabilize the result.
mkdir -p /dev/shm/registry /usr/local/cargo/registry
ln -s /dev/shm/registry /usr/local/cargo/registry/src
cargo_build () {
$CARGO build --locked "$@"
}