On 27-08-2022 21:54, Liliana Marie Prikler wrote:

 * Due to how regularised the Rust build system is, it's feasible to
compile tests even when cross-compiling (*), so cross-compiled could
run the cross-compiled tests on the system they are cross-compiling
for after the cross-compilation to verify their cross-compiled
software.
How exactly does this work without emulating the system in question?

It works by not performing any work except compilation -- Guix' responsibility would only be to cross-compile and install the tests (_not_ running them), you are supposed to install the cross-compiled thing (including tests) on the target system and run the tests on the target system.

Greetings,
Maxime