]>
git.proxmox.com Git - rustc.git/blob - src/test/run-make-fulldeps/coverage/coverage_tools.mk
1 # Common Makefile include for Rust `run-make-fulldeps/coverage-* tests. Include this
4 # -include ../coverage/coverage_tools.mk
8 # ISSUE(76038): When targeting MSVC, Rust binaries built with both `-Z instrument-coverage` and
9 # `-C link-dead-code` typically crash (with a seg-fault) or at best generate an empty `*.profraw`
10 # file, required for coverage reports.
12 # Enabling `-C link-dead-code` is not necessary when compiling with `-Z instrument-coverage`,
13 # due to improvements in the coverage map generation, to add unreachable functions known to Rust.
14 # Therefore, `-C link-dead-code` is no longer automatically enabled.