|
543 | 543 | # FIXME(#61117): Some tests fail when this option is enabled.
|
544 | 544 | #debuginfo-level-tests = 0
|
545 | 545 |
|
546 |
| -# Should rustc be build with split debuginfo? Default is platform dependent. |
547 |
| -# Valid values are the same as those accepted by `-C split-debuginfo` |
548 |
| -# (`off`/`unpacked`/`packed`). |
| 546 | +# Should rustc and the standard library be built with split debuginfo? Default |
| 547 | +# is platform dependent. |
549 | 548 | #
|
550 |
| -# On Linux, split debuginfo is disabled by default. |
| 549 | +# This field is deprecated, use `target.<triple>.split-debuginfo` instead. |
551 | 550 | #
|
552 |
| -# On Apple platforms, unpacked split debuginfo is used by default. Unpacked |
553 |
| -# debuginfo does not run `dsymutil`, which packages debuginfo from disparate |
554 |
| -# object files into a single `.dSYM` file. `dsymutil` adds time to builds for |
555 |
| -# no clear benefit, and also makes it more difficult for debuggers to find |
556 |
| -# debug info. The compiler currently defaults to running `dsymutil` to preserve |
557 |
| -# its historical default, but when compiling the compiler itself, we skip it by |
558 |
| -# default since we know it's safe to do so in that case. |
| 551 | +# The value specified here is only used when targeting the `build.build` triple, |
| 552 | +# and is overridden by `target.<triple>.split-debuginfo` if specified. |
559 | 553 | #
|
560 |
| -# On Windows platforms, packed debuginfo is the only supported option, |
561 |
| -# producing a `.pdb` file. |
562 |
| -#split-debuginfo = if linux { off } else if windows { packed } else if apple { unpacked } |
| 554 | +#split-debuginfo = see target.<triple>.split-debuginfo |
563 | 555 |
|
564 | 556 | # Whether or not `panic!`s generate backtraces (RUST_BACKTRACE)
|
565 | 557 | #backtrace = true
|
|
769 | 761 | # Setting this will override the `use-lld` option for Rust code when targeting MSVC.
|
770 | 762 | #linker = "cc" (path)
|
771 | 763 |
|
| 764 | +# Should rustc and the standard library be built with split debuginfo? Default |
| 765 | +# is platform dependent. |
| 766 | +# |
| 767 | +# Valid values are the same as those accepted by `-C split-debuginfo` |
| 768 | +# (`off`/`unpacked`/`packed`). |
| 769 | +# |
| 770 | +# On Linux, split debuginfo is disabled by default. |
| 771 | +# |
| 772 | +# On Apple platforms, unpacked split debuginfo is used by default. Unpacked |
| 773 | +# debuginfo does not run `dsymutil`, which packages debuginfo from disparate |
| 774 | +# object files into a single `.dSYM` file. `dsymutil` adds time to builds for |
| 775 | +# no clear benefit, and also makes it more difficult for debuggers to find |
| 776 | +# debug info. The compiler currently defaults to running `dsymutil` to preserve |
| 777 | +# its historical default, but when compiling the compiler itself, we skip it by |
| 778 | +# default since we know it's safe to do so in that case. |
| 779 | +# |
| 780 | +# On Windows platforms, packed debuginfo is the only supported option, |
| 781 | +# producing a `.pdb` file. |
| 782 | +#split-debuginfo = if linux { off } else if windows { packed } else if apple { unpacked } |
| 783 | + |
772 | 784 | # Path to the `llvm-config` binary of the installation of a custom LLVM to link
|
773 | 785 | # against. Note that if this is specified we don't compile LLVM at all for this
|
774 | 786 | # target.
|
|
0 commit comments