File tree 2 files changed +3
-8
lines changed
2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -477,12 +477,7 @@ changelog-seen = 2
477
477
# Valid values are the same as those accepted by `-C split-debuginfo`
478
478
# (`off`/`unpacked`/`packed`).
479
479
#
480
- # On Linux, packed split debuginfo is used by default, which splits debuginfo
481
- # into a separate `rustc.dwp` file. Split DWARF on Linux results in lower
482
- # linking times (there's less debuginfo for the linker to process),
483
- # `split-debuginfo` is enabled on default for Linux. Unpacked debuginfo could
484
- # technically work too, but the cost of running the DWARF packager is marginal
485
- # and results in debuginfo being in a single file.
480
+ # On Linux, split debuginfo is disabled by default.
486
481
#
487
482
# On Apple platforms, unpacked split debuginfo is used by default. Unpacked
488
483
# debuginfo does not run `dsymutil`, which packages debuginfo from disparate
@@ -494,7 +489,7 @@ changelog-seen = 2
494
489
#
495
490
# On Windows platforms, packed debuginfo is the only supported option,
496
491
# producing a `.pdb` file.
497
- #split-debuginfo = if linux { packed } else if windows { packed } else if apple { unpacked }
492
+ #split-debuginfo = if linux { off } else if windows { packed } else if apple { unpacked }
498
493
499
494
# Whether or not `panic!`s generate backtraces (RUST_BACKTRACE)
500
495
#backtrace = true
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ impl SplitDebuginfo {
256
256
} else if target. contains ( "windows" ) {
257
257
SplitDebuginfo :: Packed
258
258
} else {
259
- SplitDebuginfo :: Unpacked
259
+ SplitDebuginfo :: Off
260
260
}
261
261
}
262
262
}
You can’t perform that action at this time.
0 commit comments