# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.15.1 EAPI=8 RUST_MIN_VER="1.88.0" CRATES=" aarch64-cpu@10.0.0 aarch64@0.0.14 adler2@2.0.1 ahash@0.7.8 aho-corasick@1.1.3 align-address@0.3.0 align-address@0.4.0 alloca@0.4.0 anes@0.1.6 anstream@1.0.0 anstyle-parse@1.0.0 anstyle-query@1.1.5 anstyle-wincon@3.0.11 anstyle@1.0.13 anyhow@1.0.101 arrayvec@0.7.6 async-channel@2.5.0 async-io@2.6.0 autocfg@1.5.0 bit_field@0.10.2 bitflags@1.3.2 bitflags@2.11.1 bitvec@1.0.1 borsh-derive@1.5.7 borsh@1.5.7 bumpalo@3.19.0 byte-unit@5.2.0 bytecheck@0.6.12 bytecheck_derive@0.6.12 byteorder@1.5.0 bytes@1.11.1 cast@0.3.0 cc@1.2.32 cfg-if@1.0.1 cfg_aliases@0.2.1 chacha20@0.10.0 ciborium-io@0.2.2 ciborium-ll@0.2.2 ciborium@0.2.2 clap@4.6.1 clap_builder@4.6.0 clap_derive@4.6.1 clap_lex@1.0.0 clean-path@0.2.1 colorchoice@1.0.4 concurrent-queue@2.5.0 const_fn@0.4.11 const_parse@1.0.0 core_affinity@0.8.3 cpufeatures@0.3.0 crc32fast@1.5.0 criterion-plot@0.8.2 criterion@0.8.2 crossbeam-deque@0.8.6 crossbeam-epoch@0.9.18 crossbeam-utils@0.8.21 crunchy@0.2.4 deranged@0.5.3 dyn-clone@1.0.20 either@1.15.0 enumflags2@0.7.12 enumflags2_derive@0.7.12 env_filter@1.0.0 env_logger@0.11.10 equivalent@1.0.2 errno@0.3.14 event-listener-strategy@0.5.4 event-listener@5.4.1 fastrand@2.3.0 flate2@1.1.9 foldhash@0.1.5 funty@2.0.0 futures-core@0.3.32 futures-io@0.3.32 futures-lite@2.6.1 gdbstub@0.7.10 gdbstub_arch@0.3.3 getrandom@0.2.16 getrandom@0.4.1 goblin@0.10.0 half@2.6.0 hashbrown@0.12.3 hashbrown@0.15.5 hashbrown@0.16.1 heck@0.5.0 hermit-abi@0.5.2 hermit-entry@0.10.10 home@0.5.12 id-arena@2.3.0 indexmap@2.13.1 is_terminal_polyfill@1.70.1 itertools@0.13.0 itoa@1.0.15 jiff-static@0.2.23 jiff@0.2.23 js-sys@0.3.77 kvm-bindings@0.14.0 kvm-ioctls@0.24.0 landlock@0.4.4 leb128fmt@0.1.0 libc@0.2.186 linux-raw-sys@0.12.1 llvm-tools@0.1.1 log@0.4.29 mac_address@1.1.8 managed@0.8.0 memchr@2.7.5 memoffset@0.9.1 memory_addresses@0.2.3 memory_addresses@0.3.0 merge@0.2.0 merge_derive@0.2.0 miniz_oxide@0.8.9 nix@0.29.0 nix@0.31.2 nohash@0.2.0 ntapi@0.4.1 num-conv@0.2.0 num-traits@0.2.19 num_cpus@1.17.0 num_enum@0.7.6 num_enum_derive@0.7.6 objc2-core-foundation@0.3.2 objc2-io-kit@0.3.2 once_cell@1.21.3 once_cell_polyfill@1.70.1 oorandom@11.1.5 page_size@0.6.0 parking@2.2.1 pastey@0.2.1 pin-project-lite@0.2.17 plain@0.2.3 plotters-backend@0.3.7 plotters-svg@0.3.7 plotters@0.3.7 polling@3.11.0 portable-atomic-util@0.2.4 portable-atomic@1.11.1 powerfmt@0.2.0 ppv-lite86@0.2.21 prettyplease@0.2.36 proc-macro-crate@3.3.0 proc-macro-error-attr2@2.0.0 proc-macro-error2@2.0.1 proc-macro2@1.0.106 ptr_meta@0.1.4 ptr_meta_derive@0.1.4 quote@1.0.45 r-efi@5.3.0 radium@0.7.0 rand@0.10.1 rand@0.8.5 rand_chacha@0.3.1 rand_core@0.10.0 rand_core@0.6.4 raw-cpuid@10.7.0 raw-cpuid@11.6.0 rayon-core@1.12.1 rayon@1.10.0 ref-cast-impl@1.0.25 ref-cast@1.0.25 regex-automata@0.4.12 regex-syntax@0.8.5 regex@1.12.3 rend@0.4.2 rftrace-frontend@0.3.2 rftrace@0.3.2 rkyv@0.7.45 rkyv_derive@0.7.45 rust_decimal@1.37.2 rustix@1.1.4 rustversion@1.0.22 ryu@1.0.20 same-file@1.0.6 schemars@1.1.0 scroll@0.13.0 seahash@4.1.0 semver@1.0.27 serde@1.0.228 serde_core@1.0.228 serde_derive@1.0.228 serde_json@1.0.142 serde_spanned@1.1.1 shell-words@1.1.1 shlex@1.3.0 simd-adler32@0.3.8 simdutf8@0.1.5 slab@0.4.12 strsim@0.11.1 syn@1.0.109 syn@2.0.117 sysinfo@0.38.4 tap@1.0.1 tar-no-std@0.4.2 tempfile@3.27.0 thiserror-impl@2.0.18 thiserror@2.0.18 time-core@0.1.8 time@0.3.47 tinytemplate@1.2.1 tinyvec@1.9.0 tinyvec_macros@0.1.1 tock-registers@0.9.0 toml@1.1.2+spec-1.1.0 toml_datetime@0.6.11 toml_datetime@1.1.1+spec-1.1.0 toml_edit@0.22.27 toml_parser@1.1.2+spec-1.1.0 toml_writer@1.1.1+spec-1.1.0 tun-tap@0.1.4 unicode-ident@1.0.18 unicode-xid@0.2.6 utf8-width@0.1.7 utf8parse@0.2.2 uuid@1.23.1 version_check@0.9.5 virtio-bindings@0.2.7 virtio-queue@0.17.0 vm-fdt@0.3.0 vm-memory@0.17.2 vm-memory@0.18.0 vmm-sys-util@0.15.0 volatile@0.4.6 walkdir@2.5.0 wasi@0.11.1+wasi-snapshot-preview1 wasip2@1.0.2+wasi-0.2.9 wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06 wasm-bindgen-backend@0.2.100 wasm-bindgen-macro-support@0.2.100 wasm-bindgen-macro@0.2.100 wasm-bindgen-shared@0.2.100 wasm-bindgen@0.2.100 wasm-encoder@0.244.0 wasm-metadata@0.244.0 wasmparser@0.244.0 web-sys@0.3.77 winapi-i686-pc-windows-gnu@0.4.0 winapi-util@0.1.11 winapi-x86_64-pc-windows-gnu@0.4.0 winapi@0.3.9 windows-collections@0.3.2 windows-core@0.62.2 windows-future@0.3.2 windows-implement@0.60.2 windows-interface@0.59.3 windows-link@0.2.1 windows-numerics@0.3.1 windows-result@0.4.1 windows-strings@0.5.1 windows-sys@0.61.2 windows-threading@0.2.1 windows@0.62.2 winnow@0.7.13 winnow@1.0.0 wit-bindgen-core@0.51.0 wit-bindgen-rust-macro@0.51.0 wit-bindgen-rust@0.51.0 wit-bindgen@0.51.0 wit-component@0.244.0 wit-parser@0.244.0 wyz@0.5.1 x86@0.52.0 x86_64@0.15.4 xhypervisor@0.3.0 zerocopy-derive@0.8.48 zerocopy@0.8.48 " inherit cargo linux-info DESCRIPTION="A specialized hypervisor for Hermit" HOMEPAGE="https://github.com/hermit-os/uhyve" SRC_URI=" ${CARGO_CRATE_URIS} https://github.com/hermit-os/uhyve/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz " LICENSE="|| ( Apache-2.0 MIT )" # Dependent crate licenses LICENSE+=" 0BSD Apache-2.0 BSD MIT Unicode-3.0 ZLIB" SLOT="0.8" KEYWORDS="amd64" IUSE+=" instrument" BDEPEND=" ${BDEPEND} llvm-core/clang:* " DEPEND=" ${DEPEND} kernel_linux? ( sys-kernel/linux-headers ) " RDEPEND=" instrument? ( dev-util/uftrace ) " pkg_setup() { linux-info_pkg_setup rust_pkg_setup } src_configure() { local myfeatures=( $(usev instrument) ) cargo_src_configure } src_install() { cargo_src_install mv "${ED}/usr/bin/${PN}" "${ED}/usr/bin/${PN}-${SLOT%/*}" || die "renaming executable failed" }