diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-03-14 13:58:34 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:25 +0300 |
commit | f1b14a1524091a308f1e3b55d71ef9fd18761cfd (patch) | |
tree | 69b47f7bc8572fbeab60400d9951880a9241b1fe /gnu | |
parent | f4a6d989bb53385aa54b542cb63bbd176867a09b (diff) | |
download | guix-f1b14a1524091a308f1e3b55d71ef9fd18761cfd.tar.gz |
gnu: rust-1.55: Remove bundled libraries.
* gnu/packages/rust.scm (rust-1.55)[source]: Adjust snippet to remove bundled libraries.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/rust.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 4a69f2a302..91cd43a9e7 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -380,6 +380,10 @@ safety and thread safety guarantees.") ;; find . -not -type d -executable -exec file {} \+ | grep ELF (delete-file "vendor/vte/vim10m_match") (delete-file "vendor/vte/vim10m_table") + ;; Also remove the bundled (mostly Windows) libraries. + ;; find vendor -not -type d -exec file {} \+ | grep PE32 + (for-each delete-file + (find-files "vendor" ".*\\.(a|dll|exe|lib)$")) ;; Add support for riscv64-linux. (substitute* "vendor/tikv-jemallocator/src/lib.rs" ((" target_arch = \"s390x\"," all) |