mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
cf607056a0
Fix ICE when using -Zinstrument-mcount and -Clinker-flavor=lld -Zinstrument-mcount passes -pg to the gnu linker command. This option is only supported by the cc frontend. This fixes https://github.com/rust-lang/rust/issues/155972
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.