dev-embedded/probe-rs-tools: RESTRICT=test because testing is impossible

As far as I know testing is impossible because a target can't be
installed in the sandbox.

Closes: https://bugs.gentoo.org/976011
Signed-off-by: AshyPinguin <pinguinlars1105+gentoo@gmail.com>
This commit is contained in:
AshyPinguin
2026-05-26 18:28:14 +02:00
parent 73fcd73d8d
commit 589981fdf1

View File

@@ -6,6 +6,14 @@
EAPI=8
RUST_MIN_VER="1.88"
# test crates (needs thumbv7em-none-eabi)
# CRATES="
# panic-halt@1.0.0
# cortex-m-rt@0.7.5
# cortex-m-rt-macros@0.7.5
# "
#
inherit cargo shell-completion
DESCRIPTION="A collection of on chip debugging tools to communicate with microchips."
@@ -13,6 +21,7 @@ HOMEPAGE="https://probe.rs"
SRC_URI="
https://github.com/probe-rs/probe-rs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://codeberg.org/AshyPinguin/vendor-tarballs/releases/download/${P}/${P}-crates.tar.xz
${CARGO_CRATE_URIS}
"
S="${WORKDIR}/probe-rs-${PV}/probe-rs-tools"
@@ -26,6 +35,8 @@ LICENSE+="
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT=test #TODO: allow manual testing if it is possible to install a target
src_install() {
cargo_src_install