Skip to content

Commit 010c236

Browse files
committed
Auto merge of #83500 - camelid:split-debuginfo-docs-cleanup, r=steveklabnik
Fix some typos in docs for `-C split-debuginfo`
2 parents 69e1d22 + 8527a15 commit 010c236

File tree

1 file changed

+5
-5
lines changed
  • src/doc/rustc/src/codegen-options

1 file changed

+5
-5
lines changed

src/doc/rustc/src/codegen-options/index.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -497,27 +497,27 @@ point instructions in software. It takes one of the following values:
497497
This option controls the emission of "split debuginfo" for debug information
498498
that `rustc` generates. The default behavior of this option is
499499
platform-specific, and not all possible values for this option work on all
500-
platform. Possible values are:
500+
platforms. Possible values are:
501501

502502
* `off` - This is the default for platforms with ELF binaries and windows-gnu
503-
(not Windows MSVC and not macOS). This typically means that dwarf debug
503+
(not Windows MSVC and not macOS). This typically means that DWARF debug
504504
information can be found in the final artifact in sections of the executable.
505505
This option is not supported on Windows MSVC. On macOS this options prevents
506506
the final execution of `dsymutil` to generate debuginfo.
507507

508-
* `packed` - This is the default for Windows MSVC and macOS platforms. The term
508+
* `packed` - This is the default for Windows MSVC and macOS. The term
509509
"packed" here means that all the debug information is packed into a separate
510510
file from the main executable. On Windows MSVC this is a `*.pdb` file, on
511511
macOS this is a `*.dSYM` folder, and on other platforms this is a `*.dwp`
512-
files.
512+
file.
513513

514514
* `unpacked` - This means that debug information will be found in separate
515515
files for each compilation unit (object file). This is not supported on
516516
Windows MSVC. On macOS this means the original object files will contain
517517
debug information. On other Unix platforms this means that `*.dwo` files will
518518
contain debug information.
519519

520-
Note that `packed` and `unpacked` gated behind `-Zunstable-options` on
520+
Note that `packed` and `unpacked` are gated behind `-Z unstable-options` on
521521
non-macOS platforms at this time.
522522

523523
## target-cpu

0 commit comments

Comments
 (0)