]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest/rust: strip debug symbols from test binaries
authorPeter Tatrai <peter.tatrai.ext@siemens.com>
Mon, 27 Oct 2025 10:29:00 +0000 (11:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Oct 2025 11:06:22 +0000 (11:06 +0000)
commitede3ac6f587507f98ffbe9a8b07e21e57c27c986
treeef109ae1a96ddaa67e3f88ecebed695aa4398385
parent2c134301b55892ecf3c0ae9fa4912bc827579ece
oeqa/selftest/rust: strip debug symbols from test binaries

Strip debug symbols from test binaries using RUSTFLAGS='-C strip=debuginfo'
to reduce binary sizes from 300+ MB to ~140 MB.

This is especially critical for PowerPC mac99 which has a hardcoded 768MB
RAM limit in QEMU. Without stripping, test binaries uploaded to /tmp (tmpfs)
cause 'No space left on device' errors during test execution.

The size reduction also benefits all other architectures by reducing
memory pressure and upload times during testing.

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/rust.py