mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
59fcb7a2ce
Append .dwp to the binary filename instead of replacing the existing extension. gdb et al. expect to find the dwp file at `<binary>`.dwp, even if <binary> already has an extension (e.g. libfoo.so's dwp is expected to be at libfoo.so.dwp).
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.