diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-11-19 13:14:40 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 08:09:10 -0800 |
| commit | be0a3448aa63adbe8a949c8f9f8c615d24c1d8d1 (patch) | |
| tree | 608d46c9a0b6c58303c4dc4cb5060def5580b222 /test cases/python | |
| parent | 3f1933139dd11151c2eb166a10580eb05c90955f (diff) | |
| download | meson-be0a3448aa63adbe8a949c8f9f8c615d24c1d8d1.tar.gz | |
rust: add functions for coverage arguments
Adding support for linker option broke -Db_coverage because the
`--coverage` option is added to the command line without the
`-Clink-arg=` part. Fix it by overriding get_coverage_link_args;
since we have to add the get_coverage_* functions to RustCompiler,
teach it to generate `-Cinstrument-coverage` as well.
Note that `-Clink-arg==--coverage` is actually useful only for
mixed C/Rust programs.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'test cases/python')
0 files changed, 0 insertions, 0 deletions
