[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/281: gnu: rust: Remove bundled compiled libraries.
From: |
guix-commits |
Subject: |
01/281: gnu: rust: Remove bundled compiled libraries. |
Date: |
Wed, 22 Feb 2023 05:40:15 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit da3603f2744a389be75a83fc0a830df106692565
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Feb 17 10:33:05 2023 +0200
gnu: rust: Remove bundled compiled libraries.
* gnu/packages/rust.scm (rust-bootstrap)[source]: Adjust snippet to also
remove bundled pre-compiled shared libraries.
(rust-1.55): Same.
---
gnu/packages/rust.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 133c46fb7c..f0ce3ef0d2 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016 Nikita <nikita@n0.is>
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2017, 2018 Nikolai Merinov <nikolai.merinov@member.fsf.org>
-;;; Copyright © 2017, 2019-2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2019-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
@@ -162,7 +162,11 @@
(snippet
'(begin
(for-each delete-file-recursively
- '("src/llvm-project"))))
+ '("src/llvm-project"))
+ ;; Remove vendored dynamically linked libraries.
+ ;; find . -not -type d -executable -exec file {} \+ | grep ELF
+ (delete-file "vendor/vte/vim10m_match")
+ (delete-file "vendor/vte/vim10m_table")))
(patches (search-patches "rustc-1.54.0-src.patch"))
(patch-flags '("-p0")))) ;default is -p1
(outputs '("out" "cargo"))
@@ -374,6 +378,10 @@ safety and thread safety guarantees.")
(for-each delete-file-recursively
'("src/llvm-project"
"vendor/tikv-jemalloc-sys/jemalloc"))
+ ;; Remove vendored dynamically linked libraries.
+ ;; find . -not -type d -executable -exec file {} \+ | grep ELF
+ (delete-file "vendor/vte/vim10m_match")
+ (delete-file "vendor/vte/vim10m_table")
;; Add support for riscv64-linux.
(substitute* "vendor/tikv-jemallocator/src/lib.rs"
((" target_arch = \"s390x\"," all)
- 23/281: gnu: rust-serde: Update to 1.0.148., (continued)
- 23/281: gnu: rust-serde: Update to 1.0.148., guix-commits, 2023/02/22
- 26/281: gnu: rust-slab: Update to 0.4.7., guix-commits, 2023/02/22
- 16/281: gnu: Add rust-rend., guix-commits, 2023/02/22
- 25/281: gnu: rust-itertools: Update to 0.10.5., guix-commits, 2023/02/22
- 27/281: gnu: rust-crossbeam-deque: Update to 0.8.2., guix-commits, 2023/02/22
- 28/281: gnu: rust-rustc-rayon: Add 0.4., guix-commits, 2023/02/22
- 29/281: gnu: rust-indexmap: Update to 1.9.2., guix-commits, 2023/02/22
- 30/281: gnu: rust-tokio-util: Add 0.7.4., guix-commits, 2023/02/22
- 32/281: gnu: Add rust-ciborium-io., guix-commits, 2023/02/22
- 34/281: gnu: rust-rstest: Add 0.11.0., guix-commits, 2023/02/22
- 01/281: gnu: rust: Remove bundled compiled libraries.,
guix-commits <=
- 20/281: gnu: rust-proc-macro2: Update to 1.0.47., guix-commits, 2023/02/22
- 21/281: gnu: rust-syn: Update to 1.0.105., guix-commits, 2023/02/22
- 31/281: gnu: rust-combine: Update to 4.6.6., guix-commits, 2023/02/22
- 33/281: gnu: Add rust-ciborium-ll., guix-commits, 2023/02/22
- 40/281: gnu: rust-hermit-abi: Add 0.2.6., guix-commits, 2023/02/22
- 43/281: gnu: rust-linux-raw-sys: Add 0.1.3., guix-commits, 2023/02/22
- 14/281: gnu: rust-uuid: Add 1.2.2., guix-commits, 2023/02/22
- 22/281: gnu: rust-serde-derive: Skip build., guix-commits, 2023/02/22
- 38/281: gnu: rust-criterion: Add 0.4.0., guix-commits, 2023/02/22
- 45/281: gnu: Add rust-is-terminal., guix-commits, 2023/02/22