From c918cf961d3aa6f7d5779ad1dbcf293d516d5453 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 4 Mar 2020 10:54:29 +0300 Subject: rust: bump to 1.41.1 --- extra/rust/build | 55 +++++++++++++++++++++++++++++----------------------- extra/rust/checksums | 2 +- extra/rust/sources | 2 +- extra/rust/version | 2 +- 4 files changed, 34 insertions(+), 27 deletions(-) diff --git a/extra/rust/build b/extra/rust/build index f918b150..1acbb91b 100755 --- a/extra/rust/build +++ b/extra/rust/build @@ -1,21 +1,19 @@ #!/bin/sh -e +patch -p1 < musl.patch + # This package mimics the download process of rust's 'x.py' # bootstrap library to allow for the removal of the internet -# connection requirement per build further enabling checksums -# and signature verification by KISS. +# connection requirement per build. { - cache_dir=build/cache/2019-12-19 - mkdir -p "$cache_dir" + mkdir -p "${cache_dir:=build/cache/2019-12-19}" for tarball in *.tar.xz\?no-extract; do mv -f "$tarball" "$cache_dir/${tarball%%\?no-extract}" done } -patch -p1 < musl.patch - -# 'rust' checksums files in 'vendor/', but we patch a few files. +# 'rust' checksums files in 'vendor/', but we patch a few. for vendor in libc openssl-sys; do sed -i 's/\("files":{\)[^}]*/\1/' "vendor/$vendor/.cargo-checksum.json" done @@ -25,32 +23,41 @@ cat > config.toml <