Skip to content

Commit d1ca708

Browse files
author
Yuki Okushi
authored
Rollup merge of #103674 - ehuss:split-debuginfo-doc-unstable, r=davidtwco
Update note about unstable split-debuginfo flag. split-debuginfo was effectively stabilized in #98051. The note about it requiring `-Z unstable-options` is no longer accurate. The rules for when it is gated and when it is supported are somewhat complex. I considered removing the note entirely, or making it more generic, but opted to instead try to summarize the current state.
2 parents a6ac6b2 + c2b0cc1 commit d1ca708

File tree

1 file changed

+4
-2
lines changed
  • src/doc/rustc/src/codegen-options

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,10 @@ platforms. Possible values are:
531531
debug information. On other Unix platforms this means that `*.dwo` files will
532532
contain debug information.
533533

534-
Note that `packed` and `unpacked` are gated behind `-Z unstable-options` on
535-
non-macOS platforms at this time.
534+
Note that all three options are supported on Linux and Apple platforms,
535+
`packed` is supported on Windows-MSVC, and all other platforms support `off`.
536+
Attempting to use an unsupported option requires using the nightly channel
537+
with the `-Z unstable-options` flag.
536538

537539
## strip
538540

0 commit comments

Comments
 (0)