about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2022-11-01 12:03:40 +0900
committerGitHub <noreply@github.com>2022-11-01 12:03:40 +0900
commitd1ca70809f45a59c8eb6acc1380588cdeb56c34b (patch)
treef2a06ca17b05be999c3a8ce6f745b4340c1687bd
parenta6ac6b20f35f4d35d54a686ec6410bbb91373923 (diff)
parentc2b0cc14d1da274cb8548aff5030dd30b16f67e1 (diff)
downloadrust-d1ca70809f45a59c8eb6acc1380588cdeb56c34b.tar.gz
rust-d1ca70809f45a59c8eb6acc1380588cdeb56c34b.zip
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.
-rw-r--r--src/doc/rustc/src/codegen-options/index.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/doc/rustc/src/codegen-options/index.md b/src/doc/rustc/src/codegen-options/index.md
index b1c3b618cec..f5a49410ea5 100644
--- a/src/doc/rustc/src/codegen-options/index.md
+++ b/src/doc/rustc/src/codegen-options/index.md
@@ -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