mirror of
https://github.com/rust-lang/rust.git
synced 2026-07-23 08:07:02 -04:00
a5f745740f
Rename `-Zdebuginfo-for-profiling` switch The PR was raised from this [comment](https://github.com/rust-lang/rust/pull/155942#discussion_r3188023601) from another stabilization PR: https://github.com/rust-lang/rust/pull/155942 I renamed `-Zdebug-info-for-profiling` into `-Zdebuginfo-for-profiling` before stabilization to be consistent with other `debuginfo`-related Rustc flags like `-C split-debuginfo` and `-C debuginfo`. One important note is that Clang has the [flag](https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fdebug-info-for-profiling) under `-fdebug-info-for-profiling`. I decided that consistency with other Rustc flags is more important here than to be consistent with Clang. r? folkertdev (as was proposed [here](https://github.com/rust-lang/rust/pull/155942#issuecomment-4527927374))