in src/object_info.rs [188:196]
fn canonicalize(platform: &Platform, object: &Object) -> bool {
if (object.file_format() == FileFormat::Pe) && object.has_debug_info() {
// PE objects don't have debug information, unless it's been built
// with MingW in which case it will have DWARF debug info.
false
} else {
platform.is_target()
}
}