Files
Paul Murphy 84a2d2a92c Pass -pg to linker when using -Zinstrument-mcount
Clang and gcc use this option to control linking behavior too. Some
targets need to be linked against a special crt which enables
profiling at runtime.

This makes using gprof a little easier with Rust binaries. Otherwise,
rustc must be passed `-Clink-args=-pg` to ensure the correct startup
code is linked.
2026-03-11 11:04:10 -05:00
..