We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 127c75e commit f2c78daCopy full SHA for f2c78da
src/librustc/middle/trans/debuginfo.rs
@@ -739,7 +739,7 @@ pub fn finalize(cx: &CrateContext) {
739
cx.sess().targ_cfg.os == abi::OsiOS {
740
"Dwarf Version".with_c_str(
741
|s| llvm::LLVMRustAddModuleFlag(cx.llmod(), s, 2));
742
- } else {
+ } else if cx.sess().targ_cfg.os == abi::OsLinux {
743
// FIXME(#13611) this is a kludge fix because the Linux bots have
744
// gdb 7.4 which doesn't understand dwarf4, we should
745
// do something more graceful here.
0 commit comments