Am Samstag, dem 27.08.2022 um 22:01 +0200 schrieb Maxime Devos:
> 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.
This doesn't strike me as a rust-specific setup, though.  In principle,
you should be able to do the same with a C/C++ program, but most of the
time "make check" implies both building and running the tests.

Cheers



Reply via email to