Am Samstag, dem 27.08.2022 um 12:54 +0200 schrieb Maxime Devos:
> Some questions:
>  * Some Rust crates have 'examples' and 'benchmarks' that can be
> compiled and installed. I could teach antioxidant to compile and
> install them, though it appears to provide very little value at cost
> of more compile time and a greater closure size (more binaries, more
> dependencies and wasn't there some bug with grafts whose fix causes
> outputs to be substituted that ended up unused? Though hopefully
> someone could figure out a better fix ...)
I think you could try building those examples as a separate output or
package.

>  * 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?

Reply via email to