Skip to content

Commit 42a200d

Browse files
committed
fix rustdoc-ui test
1 parent 7fc1864 commit 42a200d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

compiler/rustc_session/src/options.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,6 +1504,8 @@ options! {
15041504
"control if mem::uninitialized and mem::zeroed panic on more UB"),
15051505
strip: Strip = (Strip::None, parse_strip, [UNTRACKED],
15061506
"tell the linker which information to strip (`none` (default), `debuginfo` or `symbols`)"),
1507+
split_bundled_libs: bool = (false, parse_bool, [TRACKED],
1508+
"if libfoo.rlib is the rlib, then libfoo.rlib.bundle.* are the corresponding bundled static libraries"),
15071509
split_dwarf_kind: SplitDwarfKind = (SplitDwarfKind::Split, parse_split_dwarf_kind, [TRACKED],
15081510
"split dwarf variant (only if -Csplit-debuginfo is enabled and on relevant platform)
15091511
(default: `split`)
@@ -1512,8 +1514,6 @@ options! {
15121514
file which is ignored by the linker
15131515
`single`: sections which do not require relocation are written into object file but ignored
15141516
by the linker"),
1515-
split_bundled_libs: bool = (false, parse_bool, [TRACKED],
1516-
"split bundled libs"),
15171517
split_dwarf_inlining: bool = (true, parse_bool, [TRACKED],
15181518
"provide minimal debug info in the object/executable to facilitate online \
15191519
symbolication/stack traces in the absence of .dwo/.dwp files when using Split DWARF"),

src/test/rustdoc-ui/z-help.stdout

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
-Z stack-protector=val -- control stack smash protection strategy (`rustc --print stack-protector-strategies` for details)
146146
-Z strict-init-checks=val -- control if mem::uninitialized and mem::zeroed panic on more UB
147147
-Z strip=val -- tell the linker which information to strip (`none` (default), `debuginfo` or `symbols`)
148+
-Z split-bundled-libs=val -- if libfoo.rlib is the rlib, then libfoo.rlib.bundle.* are the corresponding bundled static libraries
148149
-Z split-dwarf-kind=val -- split dwarf variant (only if -Csplit-debuginfo is enabled and on relevant platform)
149150
(default: `split`)
150151

0 commit comments

Comments
 (0)