blob: 4fc4de7a2ea4a76b370fcd6d49f36d7077bd65d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.16.0
EAPI=8
RUST_MIN_VER="1.88.0"
CRATES="
addr2line@0.27.1
adler2@2.0.1
aho-corasick@1.1.3
anyhow@1.0.104
ar@0.9.0
bpaf@0.9.27
bpaf_derive@0.5.26
camino@1.1.11
capstone-sys@0.18.0
capstone@0.14.0
cargo-platform@0.3.0
cargo_metadata@0.23.1
cc@1.2.32
cfg-if@1.0.1
cpp_demangle@0.5.1
crc32fast@1.5.0
equivalent@1.0.2
fallible-iterator@0.3.0
flate2@1.1.2
fnv@1.0.7
gimli@0.34.0
hashbrown@0.16.1
hashbrown@0.17.1
hermit-abi@0.5.2
indexmap@2.13.0
is-terminal@0.4.16
is_ci@1.2.0
itoa@1.0.15
libc@0.2.174
line-span@0.1.5
memchr@2.7.5
memmap2@0.9.10
miniz_oxide@0.8.9
nom@8.0.0
object@0.40.0
owo-colors@4.4.0
proc-macro2@1.0.95
quote@1.0.40
regex-automata@0.4.16
regex-syntax@0.8.11
regex@1.13.1
rustc-demangle@0.1.28
ruzstd@0.9.0
ryu@1.0.20
same-file@1.0.6
semver@1.0.26
serde@1.0.219
serde_derive@1.0.219
serde_json@1.0.142
shlex@1.3.0
smallvec@1.15.1
stable_deref_trait@1.2.1
static_assertions@1.1.0
supports-color@2.1.0
supports-color@3.0.2
syn@2.0.104
thiserror-impl@2.0.12
thiserror@2.0.12
twox-hash@2.1.1
typed-arena@2.0.2
unicode-ident@1.0.18
winapi-util@0.1.9
windows-sys@0.59.0
windows-targets@0.52.6
windows_aarch64_gnullvm@0.52.6
windows_aarch64_msvc@0.52.6
windows_i686_gnu@0.52.6
windows_i686_gnullvm@0.52.6
windows_i686_msvc@0.52.6
windows_x86_64_gnu@0.52.6
windows_x86_64_gnullvm@0.52.6
windows_x86_64_msvc@0.52.6
"
inherit cargo shell-completion
DESCRIPTION="A cargo subcommand that displays the generated assembly of Rust source code"
HOMEPAGE="https://github.com/pacak/cargo-show-asm"
SRC_URI="
https://github.com/pacak/cargo-show-asm/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+=" Apache-2.0 ISC MIT Unicode-3.0"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/cargo-asm"
src_compile() {
cargo_src_compile
"$(cargo_target_dir)"/cargo-asm --bpaf-complete-style-bash > cargo-asm || die
"$(cargo_target_dir)"/cargo-asm --bpaf-complete-style-fish > cargo-asm.fish || die
"$(cargo_target_dir)"/cargo-asm --bpaf-complete-style-zsh > _cargo-asm || die
}
src_install() {
cargo_src_install
dobashcomp cargo-asm
dofishcomp cargo-asm.fish
dozshcomp _cargo-asm
}
|