pub fn get_toolchain_sysroot(debug_path: &DebugPath) -> Option<String>Expand description
Resolves the rustc sysroot for the toolchain that compiled the binary.
Uses the DW_AT_producer DWARF attribute to identify the toolchain,
then calls rustc +<toolchain> --print sysroot to get the local path.
The sysroot contains stdlib sources needed to remap DWARF file paths.