me
/
guix
Archived
1
0
Fork 0

gnu: rust-1.55: Remove bundled libraries.

* gnu/packages/rust.scm (rust-1.55)[source]: Adjust snippet to remove
bundled libraries.
master
Efraim Flashner 2023-03-14 13:58:34 +02:00
parent f4a6d989bb
commit f1b14a1524
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 0 deletions

View File

@ -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)