Install this version:
emerge -a =dev-util/cbindgen-0.29.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/cbindgen-0.29.3
Or alternatively:
emerge --autounmask-write -a =dev-util/cbindgen-0.29.3
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.29.3 | 8 | ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 | 0 |
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cargo
DESCRIPTION="A tool for generating C bindings to Rust code"
HOMEPAGE="https://github.com/mozilla/cbindgen/"
SRC_URI="https://github.com/mozilla/cbindgen/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-crate-dist/cbindgen/releases/download/v${PV}/${P}-crates.tar.xz"
LICENSE="MPL-2.0"
# Dependent crate licenses
LICENSE+="
MIT Unicode-3.0
|| ( Apache-2.0 Boost-1.0 )
"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="test"
# Needs debugging enabled and lots of other problems.
# https://github.com/mozilla/cbindgen/issues?q=is%3Aissue+is%3Aopen+test
RESTRICT="test"
BDEPEND="test? ( dev-build/cmake )"
QA_FLAGS_IGNORED="usr/bin/cbindgen"
Manage flags for this package:
euse -i <flag> -p dev-util/cbindgen |
euse -E <flag> -p dev-util/cbindgen |
euse -D <flag> -p dev-util/cbindgen
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | cbindgen-0.29.3.tar.gz | 251261 bytes | https://github.com/mozilla/cbindgen/archive/refs/tags/v0.29.3.tar.gz |