Skip to content

Commit 5ac82d2

Browse files
committed
cleanup
1 parent 6a368f5 commit 5ac82d2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

compiler/rustc_interface/src/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ fn test_unstable_options_tracking_hash() {
783783
tracked!(share_generics, Some(true));
784784
tracked!(show_span, Some(String::from("abc")));
785785
tracked!(simulate_remapped_rust_src_base, Some(PathBuf::from("/rustc/abc")));
786+
tracked!(split_bundled_libs, true);
786787
tracked!(src_hash_algorithm, Some(SourceFileHashAlgorithm::Sha1));
787788
tracked!(stack_protector, StackProtector::All);
788789
tracked!(symbol_mangling_version, Some(SymbolManglingVersion::V0));

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@
141141
-Z show-span=val -- show spans for compiler debugging (expr|pat|ty)
142142
-Z span-debug=val -- forward proc_macro::Span's `Debug` impl to `Span`
143143
-Z span-free-formats=val -- exclude spans when debug-printing compiler state (default: no)
144-
-Z src-hash-algorithm=val -- hash algorithm of source files in debug info (`md5`, `sha1`, or `sha256`)
145-
-Z stack-protector=val -- control stack smash protection strategy (`rustc --print stack-protector-strategies` for details)
146-
-Z strict-init-checks=val -- control if mem::uninitialized and mem::zeroed panic on more UB
147-
-Z strip=val -- tell the linker which information to strip (`none` (default), `debuginfo` or `symbols`)
148144
-Z split-bundled-libs=val -- if libfoo.rlib is the rlib, then libfoo.rlib.bundle.* are the corresponding bundled static libraries
149145
-Z split-dwarf-kind=val -- split dwarf variant (only if -Csplit-debuginfo is enabled and on relevant platform)
150146
(default: `split`)
@@ -154,6 +150,10 @@
154150
`single`: sections which do not require relocation are written into object file but ignored
155151
by the linker
156152
-Z split-dwarf-inlining=val -- provide minimal debug info in the object/executable to facilitate online symbolication/stack traces in the absence of .dwo/.dwp files when using Split DWARF
153+
-Z src-hash-algorithm=val -- hash algorithm of source files in debug info (`md5`, `sha1`, or `sha256`)
154+
-Z stack-protector=val -- control stack smash protection strategy (`rustc --print stack-protector-strategies` for details)
155+
-Z strict-init-checks=val -- control if mem::uninitialized and mem::zeroed panic on more UB
156+
-Z strip=val -- tell the linker which information to strip (`none` (default), `debuginfo` or `symbols`)
157157
-Z symbol-mangling-version=val -- which mangling version to use for symbol names ('legacy' (default) or 'v0')
158158
-Z teach=val -- show extended diagnostic help (default: no)
159159
-Z temps-dir=val -- the directory the intermediate files are written to

0 commit comments

Comments
 (0)