Skip to content

Commit 26b3e32

Browse files
Rollup merge of #144738 - bjorn3:remove_omit_gdb_pretty_printer_section, r=jieyouxu
Remove the omit_gdb_pretty_printer_section attribute Disabling loading of pretty printers in the debugger itself is more reliable. Before this commit the .gdb_debug_scripts section couldn't be included in dylibs or rlibs as otherwise there is no way to disable the section anymore without recompiling the entire standard library.
2 parents 98ef7e9 + 80f5a3e commit 26b3e32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests/directives.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ See [Pretty-printer](compiletest.md#pretty-printer-tests).
299299
- [`should-ice`](compiletest.md#incremental-tests) — incremental cfail should
300300
ICE
301301
- [`reference`] — an annotation linking to a rule in the reference
302+
- `disable-gdb-pretty-printers` — disable gdb pretty printers for debuginfo tests
302303

303304
[`reference`]: https://github.com/rust-lang/reference/blob/master/docs/authoring.md#test-rule-annotations
304305

0 commit comments

Comments
 (0)