mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
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.