]> git.lizzy.rs Git - rust.git/commit
partially fix src/test/run-make/coverage-reports when cross-compiling
authorPietro Albini <pietro.albini@ferrous-systems.com>
Tue, 27 Sep 2022 08:11:43 +0000 (10:11 +0200)
committerPietro Albini <pietro.albini@ferrous-systems.com>
Tue, 18 Oct 2022 07:38:02 +0000 (09:38 +0200)
commit399e5cc8db64f06c2d2d57894fc066d289e3eeae
tree2645bc7a7e8c42731f5ca280c69aaa146332807a
parentdd8c3a80dd2e5a0b62c3ef77511f3296070f78e2
partially fix src/test/run-make/coverage-reports when cross-compiling

The test does not work on cross-compiled targets because the --target
flag was not passed to rustc inside the test. This commit fixes that by
adding the flag to the invocations.

Note that the test still fails on cross-compiled targets using
remote-test, as remote-test is not capable (yet) of sending back to the
host system the *.profraw file generated by the instrumentation.

Because of that, this is only a partial fix, and the test has been
ignored on cross-compilation.
src/test/run-make/coverage-reports/Makefile