mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 11:35:21 +03:00
ddb054aee8
Found that -C link-dead-code (which was enabled automatically under -Z instrument-coverage) was causing the linking error that resulted in segmentation faults in coverage instrumented binaries. Link dead code is now disabled under MSVC, allowing `-Z instrument-coverage` to be enabled under MSVC for the first time. More details are included in Issue #76038. (This PR was broken out from PR #75828)
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.