mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
84a2d2a92c
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.