1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

rust-hello-world: test at runtime

This adds a smoke check for whether the rust toolchain actually
produces working executables across a range of architectures.

(From OE-Core rev: 14bb638b0df7acfa6aa89abf4625357f8cde886b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2021-12-15 23:40:13 +01:00
committed by Richard Purdie
parent babd34dc43
commit 2e0f03802b
3 changed files with 23 additions and 1 deletions
@@ -25,6 +25,8 @@ GOTOOLS ?= "go-helloworld"
GOTOOLS:powerpc ?= ""
GOTOOLS:riscv32 ?= ""
RUSTTOOLS ?= "rust-hello-world"
GSTEXAMPLES ?= "gst-examples"
GSTEXAMPLES:riscv64 = ""
@@ -57,4 +59,5 @@ RDEPENDS:${PN} = "\
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \
${@bb.utils.contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \
${GOTOOLS} \
${RUSTTOOLS} \
"