# Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.15.0 EAPI=8 CRATES=" addr2line@0.25.1 adler2@2.0.1 aho-corasick@1.1.3 allocator-api2@0.2.21 anstream@0.6.21 anstyle-parse@0.2.7 anstyle-query@1.1.4 anstyle-wincon@3.0.10 anstyle@1.0.13 anyhow@1.0.100 ar@0.9.0 arrayref@0.3.9 arrayvec@0.7.6 ascii_table@4.0.8 atomic-polyfill@1.0.3 atomic-take@1.1.0 autocfg@1.5.0 backtrace@0.3.76 base64@0.22.1 bitflags@2.10.0 blake3@1.8.2 bumpalo-herd@0.1.2 bumpalo@3.19.0 byteorder@1.5.0 bytesize@2.1.0 cc@1.2.41 cfg-if@1.0.3 clap@4.5.51 clap_builder@4.5.51 clap_derive@4.5.49 clap_lex@0.7.6 cobs@0.3.0 colorchoice@1.0.4 colored@3.0.0 colosseum@0.2.2 constant_time_eq@0.3.1 cpp_demangle@0.4.5 crc32fast@1.5.0 critical-section@1.2.0 crossbeam-channel@0.5.15 crossbeam-deque@0.8.6 crossbeam-epoch@0.9.18 crossbeam-queue@0.3.12 crossbeam-utils@0.8.21 debugid@0.8.0 deranged@0.5.4 derive_more-impl@2.0.1 derive_more@2.0.1 dhat@0.3.3 either@1.15.0 embedded-io@0.4.0 embedded-io@0.6.1 env_home@0.1.0 equivalent@1.0.2 errno@0.3.14 fallible-iterator@0.3.0 fastrand@2.3.0 fd-lock@4.0.4 find-msvc-tools@0.1.4 flate2@1.1.5 foldhash@0.2.0 futures-core@0.3.31 futures-macro@0.3.31 futures-task@0.3.31 futures-timer@3.0.3 futures-util@0.3.31 getrandom@0.3.3 gimli@0.32.3 git-version-macro@0.3.9 git-version@0.3.9 glob@0.3.3 hash32@0.2.1 hashbrown@0.16.0 heapless@0.7.17 heck@0.5.0 hex@0.4.3 iced-x86@1.21.0 indexmap@2.12.0 is_terminal_polyfill@1.70.1 itertools@0.14.0 itoa@1.0.15 jobserver@0.1.34 js-sys@0.3.81 lazy_static@1.5.0 leb128@0.2.5 libc@0.2.177 libmimalloc-sys@0.1.44 libz-rs-sys@0.5.2 linux-raw-sys@0.11.0 lock_api@0.4.14 log@0.4.28 matchers@0.2.0 memchr@2.7.6 memmap2@0.9.9 mimalloc@0.1.48 minimal-lexical@0.2.1 miniz_oxide@0.8.9 mintex@0.1.4 nom@7.1.3 num-conv@0.1.0 num-traits@0.2.19 object@0.37.3 once_cell@1.21.3 once_cell_polyfill@1.70.1 os_info@3.12.0 parking_lot@0.12.5 parking_lot_core@0.9.12 paste@1.0.15 perf-event-open-sys@4.0.0 perf-event@0.4.8 pin-project-lite@0.2.16 pin-utils@0.1.0 pkg-config@0.3.32 plist@1.8.0 postcard@1.1.3 powerfmt@0.2.0 proc-macro-crate@3.4.0 proc-macro2@1.0.101 quick-xml@0.38.3 quote@1.0.41 r-efi@5.3.0 rayon-core@1.13.0 rayon@1.11.0 redox_syscall@0.5.18 regex-automata@0.4.13 regex-syntax@0.8.8 regex@1.12.2 relative-path@1.9.3 remain@0.2.15 rstest@0.26.1 rstest_macros@0.26.1 rustc-demangle@0.1.26 rustc-hash@1.1.0 rustc_version@0.4.1 rustix@1.1.2 rustversion@1.0.22 ryu@1.0.20 scopeguard@1.2.0 semver@1.0.27 serde-keyvalue@0.1.0 serde@1.0.228 serde_core@1.0.228 serde_derive@1.0.228 serde_json@1.0.145 serde_spanned@1.0.3 sharded-offset-map@0.2.0 sharded-slab@0.1.7 sharded-vec-writer@0.3.0 sharded-vec-writer@0.4.0 shlex@1.3.0 simd-adler32@0.3.7 slab@0.4.11 smallvec@1.15.1 spin@0.9.8 stable_deref_trait@1.2.1 strsim@0.11.1 strum@0.27.2 strum_macros@0.27.2 symbolic-common@12.16.3 symbolic-demangle@12.16.3 syn@2.0.106 tempfile@3.23.0 thiserror-impl@1.0.69 thiserror-impl@2.0.17 thiserror@1.0.69 thiserror@2.0.17 thousands@0.2.0 thread_local@1.1.9 time-core@0.1.6 time-macros@0.2.24 time@0.3.44 toml@0.9.8 toml_datetime@0.7.3 toml_edit@0.23.7 toml_parser@1.0.4 toml_writer@1.0.4 tracing-attributes@0.1.30 tracing-core@0.1.34 tracing-subscriber@0.3.20 tracing@0.1.41 unicode-ident@1.0.19 unicode-xid@0.2.6 utf8parse@0.2.2 uuid@1.18.1 wait-timeout@0.2.1 wasi@0.14.7+wasi-0.2.4 wasip2@1.0.1+wasi-0.2.4 wasm-bindgen-backend@0.2.104 wasm-bindgen-macro-support@0.2.104 wasm-bindgen-macro@0.2.104 wasm-bindgen-shared@0.2.104 wasm-bindgen@0.2.104 which@8.0.0 windows-link@0.2.1 windows-sys@0.52.0 windows-sys@0.59.0 windows-sys@0.60.2 windows-sys@0.61.2 windows-targets@0.52.6 windows-targets@0.53.5 windows_aarch64_gnullvm@0.52.6 windows_aarch64_gnullvm@0.53.1 windows_aarch64_msvc@0.52.6 windows_aarch64_msvc@0.53.1 windows_i686_gnu@0.52.6 windows_i686_gnu@0.53.1 windows_i686_gnullvm@0.52.6 windows_i686_gnullvm@0.53.1 windows_i686_msvc@0.52.6 windows_i686_msvc@0.53.1 windows_x86_64_gnu@0.52.6 windows_x86_64_gnu@0.53.1 windows_x86_64_gnullvm@0.52.6 windows_x86_64_gnullvm@0.53.1 windows_x86_64_msvc@0.52.6 windows_x86_64_msvc@0.53.1 winnow@0.7.13 winsafe@0.0.19 wit-bindgen@0.46.0 zerocopy-derive@0.8.27 zerocopy@0.8.27 zlib-rs@0.5.2 zstd-safe@7.2.4 zstd-sys@2.0.16+zstd.1.5.7 zstd@0.13.3 " RUST_MIN_VER="1.89" inherit cargo unpacker DESCRIPTION="A very fast linker for Linux" HOMEPAGE="https://github.com/davidlattimore/wild" if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/davidlattimore/wild.git" else SRC_URI="https://github.com/davidlattimore/wild/archive/${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " KEYWORDS="~amd64" fi LICENSE="|| ( Apache-2.0 MIT )" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD-2 BSD MIT MPL-2.0 Unicode-3.0 ZLIB" SLOT="0" src_unpack() { if [[ ${PV} == *9999* ]]; then git-r3_src_unpack S="${S}/rust-src" cargo_live_src_unpack else unpacker ${P}.tar.gz cargo_src_unpack fi } src_install() { # Wild has a virtual Cargo.toml, so specify the path to the bin cargo_src_install --path "${S}/wild" dosym ${PN} /usr/bin/ld.${PN} }