Skip to content

Commit

Permalink
Rollup merge of rust-lang#103674 - ehuss:split-debuginfo-doc-unstable…
Browse files Browse the repository at this point in the history
…, r=davidtwco

Update note about unstable split-debuginfo flag.

split-debuginfo was effectively stabilized in rust-lang#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.
  • Loading branch information
Yuki Okushi authored Nov 1, 2022
2 parents a6ac6b2 + c2b0cc1 commit d1ca708
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/doc/rustc/src/codegen-options/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,10 @@ platforms. Possible values are:
debug information. On other Unix platforms this means that `*.dwo` files will
contain debug information.

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

## strip

Expand Down

0 comments on commit d1ca708

Please sign in to comment.